Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Two issues found with -fsanitize=undefined



I've build zsh trunk with -fsanitize=undefined and two issue popped up
while running the testsuite:

1)
 pattern.c:2645:12: runtime error: signed integer overflow: 1234567890123456789 * 10 cannot be represented in type 'long int'
Test ./D02glob.ztst failed: error output differs from expected as shown above for:

2)
 compmatch.c:341:6: runtime error: null pointer passed as argument 2, which is declared to never be null}
Test ./Y02compmatch.ztst failed: output differs from expected as shown above for:

-- 
Markus



Messages sorted by: Reverse Date, Date, Thread, Author