4 ms·
...but what if the "must be a specific sized BMP file" rule is because if you were to flash the eprom with, say, a PNG file it meant you suddenly got root over
by DaiPlusPlus 3y ago
...but what if the "must be a specific sized BMP file" rule is because if you were to flash the eprom with, say, a PNG file it meant you suddenly got root over Intel's Management Engine in your CPU?
- hsbauauvhabzb 3y agoParent is suggesting logic which refuses to parse png standard, not extension/mime-type validation. Presumably a precision formatted png uploaded as a bmp will just render as a starry mess of color, assuming format confusion is possible within the bmp standard.
- Guvante 3y agoBMP isn't encoded at all. Effectively width + height followed by row ordered pixels. Hard code file length and fail if the width or height are different. Copying pixels to the screen is hard to mess up.