bin/181263: grep crashes at memchr/__sfvwrite when using colors

Andrey Chernov ache at freebsd.org
Tue Aug 13 16:32:53 UTC 2013


On 13.08.2013 17:50, Rafal W. wrote:
>  at /usr/src/lib/libc/stdio/fvwrite.c:170
>    #2  0x0000000801007698 in fwrite (buf=0x608c03,
>  size=18446744073709551606, count=1, fp=0x801247770)
>        at /usr/src/lib/libc/stdio/fwrite.c:95
>    #3  0x0000000000405498 in printline (line=0x7fffffffdb70, sep=58,
>  matches=0x7fffffffd990, m=9)

It seems matches[i] array went south providing negative count for fwrite().

-- 
http://ache.vniz.net/
bitcoin:1G6ugdNY6e5jx1GVnAU2ntj2NEfmjKG85r


More information about the freebsd-bugs mailing list