this post was submitted on 30 Jun 2024
166 points (86.4% liked)

memes

10406 readers
2445 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to [email protected]

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/AdsNo advertisements or spam. This is an instance rule and the only way to live.

Sister communities

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 4 months ago (4 children)

Isn't there an issue with webp where it could potentially run arbitrary code?

[–] HerzogVonWiesel 23 points 4 months ago (2 children)

I actually held a presentation on it, yeah! It wasn't really a webp problem, but an issue in the image decoder library which was used in basically.. everything to open Webp. What happened was that you could tell the OS to build a super bad (Huffman Tree, which in turn led to the decoding not fitting in the allocated memory space and overflowing.

[–] [email protected] 4 points 4 months ago

Didn't every imaging lib have similar issues? They are always supposed to be fast and get implemented in C and humans fail memory management. Neverending story...

[–] [email protected] 3 points 4 months ago

I see! Thank you for clearing that up.

load more comments (1 replies)