Multiple vulnerabilities in Regexp and String case conversion

301 points · 111 comments on HN · read original →

Points and comments are a snapshot, not live.

Article body wasn't reachable. The HN discussion summary is below.

What commenters are saying

The thread centers on a specific Windows-1252 bug: upcasing the German sharp 's' (ß) to "SS" expands the string length, causing a one-byte overflow if buffer checks don't account for it. Commenters debate naming conventions ("Ruby2ßhell"), the difficulty of string encoding, and the broader issue of mutable strings in C-based runtimes. Some advocate Rust, others defend Ruby. Links to Raymond Chen's articles on Windows-1252 are shared.