News for hackers. Stuff that matters.
Re:Chrome still hasn't changed its opinion about dropping JP... by arp242 on Tuesday June 06, 2023 @11:53AM (#36214724)
> Why not be feature complete?

Because this code will be exposed on every single webpage you load, and historically these kind of parsers have had a number of security problems.

Something something memory safety, but this is the situation that currently exists.

"All the image parsers" would be a very bad idea. Years ago there was a bug in some Linux setups where all gstreamer codecs were exposed in Firefox, and it was a huge problem (similar: https://lwn.net/Articles/708196/ – although the one I remember is much older, around 2010 or so).

It's not really comparable to all the old terminfo entries from decades ago: the vendor controls those terminfo entries, not $random_websites. Maybe the ncurses terminfo parser actually does have some buffer overflow (there's an entire mini-programming language in there), but if it does it's not really a huge acute problem.

There are no comments on this comment yet.