{"push_id":753666487,"size":3,"distinct_size":3,"ref":"refs/heads/colcrt","head":"cdf6406ddea76c7d8c4a8ed9d827f622bb919341","before":"f137f3e2fca7f7d367114dcd39eca2953a5081f5","commits":[{"sha":"d883d64d96ab9bef510745d064a351145b9babec","author":{"email":"419b943ff7c1ed3563aaadac6fd0f9f385aec08a@iki.fi","name":"Sami Kerola"},"message":"colcrt: avoid writing beyond array bound [afl & asan]\n\ntext-utils/colcrt.c:205:10: runtime error: index -1 out of bounds for type 'wchar_t [133]'\nSUMMARY: AddressSanitizer: undefined-behavior text-utils/colcrt.c:205\n=================================================================\n==2357==ERROR: AddressSanitizer: global-buffer-overflow on address 0x0000013811b0 at pc 0x0000004e2514 bp 0x7ffdf6ba4450 sp 0x7ffdf6ba4448\nREAD of size 4 at 0x0000013811b0 thread T0\n    #0 0x4e2513 in colcrt /home/src/util-linux/text-utils/colcrt.c:213:8\n    #1 0x4e17d4 in main /home/src/util-linux/text-utils/colcrt.c:139:3\n    #2 0x7fb77236960f in __libc_start_main (/usr/lib/libc.so.6+0x2060f)\n    #3 0x4362c8 in _start (/home/src/util-linux/colcrt+0x4362c8)\n\nReported-by: Alaa Mubaied <alaamubaied@gmail.com>\nSigned-off-by: Sami Kerola <kerolasa@iki.fi>","distinct":true,"url":"https://api.github.com/repos/kerolasa/lelux-utiliteetit/commits/d883d64d96ab9bef510745d064a351145b9babec"},{"sha":"70e3fcf293c1827a2655a86584ab13075124a8a8","author":{"email":"419b943ff7c1ed3563aaadac6fd0f9f385aec08a@iki.fi","name":"Sami Kerola"},"message":"colcrt: allocate enough space for data moves [afl & asan]\n\n==2807==ERROR: AddressSanitizer: global-buffer-overflow on address 0x0000013a31f0 at pc 0x0000004e3047 bp 0x7fffcb7df8d0 sp 0x7fffcb7df8c8\nREAD of size 4 at 0x0000013a31f0 thread T0\n    #0 0x4e3046 in move /home/src/util-linux/text-utils/colcrt.c:309:13\n    #1 0x4e25b1 in pflush /home/src/util-linux/text-utils/colcrt.c:264:3\n    #2 0x4e246d in colcrt /home/src/util-linux/text-utils/colcrt.c:157:4\n    #3 0x4e17d4 in main /home/src/util-linux/text-utils/colcrt.c:141:3\n    #4 0x7fb0cb2ee60f in __libc_start_main (/usr/lib/libc.so.6+0x2060f)\n    #5 0x4362c8 in _start (/home/src/util-linux/colcrt+0x4362c8)\n\n0x0000013a31f0 is located 0 bytes to the right of global variable 'page' defined in 'text-utils/colcrt.c:73:9' (0x1380b40) of size 140976\nSUMMARY: AddressSanitizer: global-buffer-overflow /home/src/util-linux/text-utils/colcrt.c:309 move\n\nAnd another crash:\n\n==4578==ERROR: AddressSanitizer: global-buffer-overflow on address 0x0000013a3d24 at pc 0x0000004e2510 bp 0x7ffc9257b0e0 sp 0x7ffc9257b0d8\nREAD of size 4 at 0x0000013a3d24 thread T0\n    #0 0x4e250f in colcrt /home/src/util-linux/text-utils/colcrt.c:218:8\n    #1 0x4e17d4 in main /home/src/util-linux/text-utils/colcrt.c:141:3\n    #2 0x7fe0ac94160f in __libc_start_main (/usr/lib/libc.so.6+0x2060f)\n    #3 0x4362c8 in _start (/home/src/util-linux/colcrt+0x4362c8)\n\n0x0000013a3d24 is located 8 bytes to the right of global variable 'page' defined in 'text-utils/colcrt.c:73:9' (0x1381240) of size 142044\nSUMMARY: AddressSanitizer: global-buffer-overflow /home/src/util-linux/text-utils/colcrt.c:218 colcrt\n\nReported-by: Alaa Mubaied <alaamubaied@gmail.com>\nSigned-off-by: Sami Kerola <kerolasa@iki.fi>","distinct":true,"url":"https://api.github.com/repos/kerolasa/lelux-utiliteetit/commits/70e3fcf293c1827a2655a86584ab13075124a8a8"},{"sha":"cdf6406ddea76c7d8c4a8ed9d827f622bb919341","author":{"email":"419b943ff7c1ed3563aaadac6fd0f9f385aec08a@iki.fi","name":"Sami Kerola"},"message":"tests: add colcrt regression tests\n\nThanks to Alaa Mubaied for providing crash1 input file making colcrt to\ncrash.  The crash2 was generated using American Fuzzy Lop.\n\nSigned-off-by: Sami Kerola <kerolasa@iki.fi>","distinct":true,"url":"https://api.github.com/repos/kerolasa/lelux-utiliteetit/commits/cdf6406ddea76c7d8c4a8ed9d827f622bb919341"}]}