2 ms·
The quoted comment is pure speculation, by the way - there is no buffer overrun (at least, not in the traditional sense), they just forgot to truncate the origi
by Retr0id 4y ago
The quoted comment is pure speculation, by the way - there is no buffer overrun (at least, not in the traditional sense), they just forgot to truncate the original file on-disk before writing the cropped version.
- tyingq 4y agoAh, makes sense...I see your other comment leading to more detail also. Thanks!
- wffurr 4y agoIt wasn’t so much that they forgot but that Android 10 changed the meaning of the “w” file mode flag for open.
- Retr0id 4y agoIIUC the Markup tool was introduced after that change, but I could be wrong. (Although it was before the change was documented either way...)