tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: regcomp() signedness issues
In article <CAJgzZooHNebuUuEYghmrAYn+uh425PSYDSgge0BvaXnCeKGd5A%mail.gmail.com@localhost>,
enh <enh%google.com@localhost> wrote:
>-=-=-=-=-=-
>
>a trivial fuzzer someone once wrote blew up on this input to regcomp()
>[passed directly to regcomp() after adding a trailing '\0']:
>
>xxd
>~~/Downloads/clusterfuzz-testcase-minimized-regexec_fuzzer-5459313584832512
>00000000: 6a3a 5b5d 6a3a 5b5d 6a3a 5bd9 6a3a 5b5d j:[]j:[]j:[.j:[]
>
I can't reproduce this in current:
if ((e = regcomp(&re, "j:[]j:[]j:[.j:[]", REG_EXTENDED)) != 0) {
What am I doing wrong?
christos
Home |
Main Index |
Thread Index |
Old Index