Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed ubsan warning in gzfread due to size_t overflow. madler#783
gzread.c:398:18: runtime error: unsigned integer overflow: 2 * 18446744073709551615 cannot be represented in type 'unsigned long' #0 0x10009d31e in zng_gzfread gzread.c:398 madler#1 0x100005b1a in test_gzio example.c:213 madler#2 0x10001093b in main example.c:1034 madler#3 0x7fff71f57cc8 in start+0x0 (libdyld.dylib:x86_64+0x1acc8)
- Loading branch information