Commits on Source (2)
-
The type ssize_t may contain either a non-negative integer or -1. It is only guaranteed to support values in range [-1, SSIZE_MAX], so it should not contain arbitrary negative values.
55995aa4 -
The implementation could read beyond the b string. Reported by ASAN: $ ./vlc --opaaaaaaa … Error: Unknown option `--opaaaaaaa' ================================================================= ==522294==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x602000022655 at pc 0x7f8b1793d73d bp 0x7ffe311de800 sp 0x7ffe311de7f8 READ of size 1 at 0x602000022655 thread T0 #0 0x7f8b1793d73c in jaro_inner ../../src/config/jaro_winkler.c:111 #1 0x7f8b1793db7a in vlc_jaro_winkler ../../src/config/jaro_winkler.c:159
52ef980f