sin-ack's writings personal blog

Malloc broke Serenity's JPGLoader, or: how to win the lottery

I got the chance to investigate an interesting bug in SerenityOS this week. It was related to the decoding of JPG images in the operating system. For some reason, when a JPG image is viewed, it comes out like this: Lenna, showing up with incorrect colors. Weird, huh? Also seems like a simple confusion of RGB vs. BGR…
Points
335
HN comments
339
Submissions
2
Cited by
0 commenters

Software EngineeringSystems & Performance2021

On Hacker News

SubmittedTitle on HNPointsComments
Jun 2, 2021Malloc broke Serenity's JPGLoader, or: how to win the lottery by trashburger335164
Jul 7, 2024Malloc broke Serenity's JPGLoader, or: how to win the lottery (2021) by fanf2235175

Related posts from the same era