3 ms·
This does make me ask questions; namely, why the hell would anyone risk allowing compression more complex than RLE [0] in a firmware picture format? It's almost
by to11mtm 3y ago
This does make me ask questions; namely, why the hell would anyone risk allowing compression more complex than RLE [0] in a firmware picture format? It's almost asking for trouble.
[0] - Maybe there's something else out there that works better with similar ease of doing safely low level, would love to know other options!
- xnx 3y agoJohn Carmack suggests using something even more basic than RLE: "Media file parsing has been behind so many security issues. In many cases today, using completely raw data is very practical. No DCT. No ADPCM. No RLE. Just raw pixels/samples. There should be a widely agreed on header for modern raw data that is just a non-extendable struct." https://twitter.com/ID_AA_Carmack/status/1732519369362596262 https://twitter.com/ID_AA_Carmack/status/1732519369362596262
- yencabulator 3y agoNot "widely agreed" for sure but Suckless people proposed https://lists.suckless.org/dev/1407/23155.html https://lists.suckless.org/dev/1407/23155.html