Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: more ctype(3) lossage - firefox and imgur



mrg%eterna23.net@localhost (matthew green) writes:

>trying to load imgur.com for me crashes that tab with a ctype error:

>   ctype(3) isalnum: invalid input: -8

>i built a firefox with "debug-info" option, but i've failed to get it
>or GDB to give me anything useful yet.  it only crashes the tab and
>none of the threads i can find are the crashed thread (seems gone.)

>anyone else seeing this?  it isn't 100% but usually stays for a while
>when it happens..



I see a similar crash (with firefox-132 from 2025Q1). The
crash is caused by:


./gfx/ots/src/name.cc:17

// We disallow characters outside the URI spec "unreserved characters"
// set; any chars outside this set will be replaced by underscore.
bool AllowedInPsName(char c) {
  return isalnum(c) || std::strchr("-._~", c);
}




Home | Main Index | Thread Index | Old Index