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
{{ message }}
Repository navigation
Array of SoapVar of unknown type causes crash #20011
/home/w023dtc/nightly_php/php-src/ext/soap/php_encoding.c:3674:38: runtime error: null pointer passed as argument 1, which is declared to never be null
/usr/include/string.h:408:33: note: nonnull attribute specified here
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/w023dtc/nightly_php/php-src/ext/soap/php_encoding.c:3674:38
Activity
ndossche commentedon Sep 30, 2025
Reduced to:
ndossche commentedon Sep 30, 2025
I think something like this should work (type inference + handling unknown type), but I'm not 100% sure yet:
[-]undefined behavior in php_encoding[/-][+]Array of SoapVar of unknown type causes crash[/+]Fix phpGH-20011: Array of SoapVar of unknown type causes crash
Fix GH-20011: Array of SoapVar of unknown type causes crash
Merge branch 'PHP-8.3' into PHP-8.4
Merge branch 'PHP-8.4' into PHP-8.5
Merge branch 'PHP-8.5'