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
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Jun 2, 2021 | Malloc broke Serenity's JPGLoader, or: how to win the lottery by trashburger | 335 | 164 |
| Jul 7, 2024 | Malloc broke Serenity's JPGLoader, or: how to win the lottery (2021) by fanf2 | 235 | 175 |