-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 10
-
Component/s: core-libs
-
b06
In UnixNativeDispatcher.c, readlink0 function, there is the following code:
if (n == sizeof(target)) {
n--;
}
It will only happen when the target of the link exceeds PATH_MAX bytes which in theory should never occur, but if it were to, truncating the target would be an error.
if (n == sizeof(target)) {
n--;
}
It will only happen when the target of the link exceeds PATH_MAX bytes which in theory should never occur, but if it were to, truncating the target would be an error.