Fixing a 20-year-old bug in Enlightenment E16

The editor in chief of this blog was born in 2004. She uses the 1997 window manager, Enlightenment E16, daily. In this article, I describe the process of fixing a show-stopping, rare bug that dates back to 2006 in the codebase. Surprisingly, the issue has roots in a faulty implementation of Newton’s algorithm.
↫ Kamila Szewczyk

I'

https://www.osnews.com/story/144797/fixing-a-20-year-old-bug-in-enlightenment-e16/

#DesktopEnvironments

Fixing a 20-year-old bug in Enlightenment E16 – OSnews

@osnews That bug being related to text truncation reminds me of the iphone bug from ~2015, where certain nonsense combinations of Arabic characters would cause the text renderer to crash and take down the whole system.

From what I remember, in that case the text was too long to display in the notification bar, so got truncated. The truncation logic worked fine for actual Arabic text, but when given nonsense combinations of characters there was an edge case where it would generate a "truncated" text which was still too long, which caused something upstream to eventually dereference a null pointer (of course) and die