cid#1606631 Overflowed constant
Change-Id: I9ed28057b0435b78743303d1d6edea928598787b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174379 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
@@ -168,6 +168,8 @@ std::vector<OUString> jfw_convertUserPathList(std::u16string_view sUserPath)
|
||||
}
|
||||
}
|
||||
result.emplace_back(sToken);
|
||||
if (nextColon == std::u16string_view::npos)
|
||||
break;
|
||||
nIdx = nextColon + 1;
|
||||
} while (nIdx > 0);
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user