On 07/01/2015 01:28 PM, Tim Ruehsen wrote:
Definitely not. If quote() doesn't work, Wget wouldn't work at all.

I wasn't implying quote() is broken. As you say, if it was broken, Wget would 
not work at all, and it works alright in my box. Also, 'make check' does well. 
It only segfaults when I input 0xFC, that's what I meant from the beginning. 
And since _utf8_is_valid() should work with even invalid sequences...

'gdb' traces it to quotearg.c:343:

    for (i = 0;  ! (argsize == SIZE_MAX ? arg[i] == '\0' : i == argsize);  i++)

I have no gcc optimizations applied, so it should be pretty accurate. Will look 
further, don't have time now.

Can anybody else reproduce this? Maybe I'm missing something?

Are you on current master ? (./boostrap, ./configure, make clean make check
again)

Yes. With all the latest commits. How weird...

--
Regards,
- AJ

Reply via email to