General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Chaos Corner
Louis Rossmann
comments
Comments by "Chaos Corner" (@chaos.corner) on "Another Google Pixel security flaw: images can be uncropped and unredacted?" video.
Makes sense. I was fairly sure this wasn't a feature of PNGs. Though I was hesitant to say it couldn't be as I have seen metadata induced weirdness with pictures before (usually image rotation being set in metadata but not honored by forum software).
10
Usually modifying the original is not good behavior but it depends on the workflow.
2
@LKonstantina915 If it's a temporary file, they may have just reused the filename or a standard one for screenshots but that doesn't seem to be the case. Also, Linux (Which android is based on) will typically create a new file if opened for write. You'd have to open for append and fseek to the beginning to do what they've done which seems weird. Maybe they figured because they already had the file handle open, they'd just fseek to the beginning and write which is pretty brain dead and unnecessary for saving a couple of lines of code.
1