You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/php-src/ext/sockets/sockets.c:373:11: runtime error: negation of -2147483648 cannot be represented in type 'int'; cast to an unsigned type to negate this value to itself
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /php-src/ext/sockets/sockets.c:373:11
Such bugs look nonsensical to me. Shall I keep reporting them?
I can t reproduce with last master, how does it look to you in ext/sockets/sockets.c around line 1258 (I assume you run 64 bits ubuntu) ? Actually I can, will make a PR
Activity
Fix phpGH-16267 socket_strerror overflow on argument value.
Fix GH-16267 socket_strerror overflow on argument value.
YuanchengJiang commentedon Nov 28, 2024
it happens again in the latest commit
devnexen commentedon Nov 28, 2024
I can t reproduce with last master, how does it look to you in ext/sockets/sockets.c around line 1258 (I assume you run 64 bits ubuntu) ?Actually I can, will make a PRext/sockets: socket_strerror follow-up on phpGH-16267 fix.
ext/sockets: socket_strerror follow-up on GH-16267 fix.