A race condition in bzip2 1.0.2 and earlier allows local users to modify
permissions of arbitrary files via a hard link attack on a file while it is
being decompressed, whose permissions are changed by bzip2 after the
decompression is complete. Also specially crafted bzip2 archives may cause
an infinite loop in the decompressor.
Posted Jan 15, 2007 4:40 UTC (Mon) by pr1268 (subscriber, #24648)
[Link]
crap.c? Nice module naming standards! Reminds me of my C code.
We discussed the concept of "reverse compression" in a graduate CS course I took this past Fall, but 44 bytes → 500 MB takes the cake. (Never mind that it hadn't finished compressing yet.) ;-)
Thank you for testing the fix and following up with it.