News for hackers. Stuff that matters.
Re:I Use Zip Bombs to Protect My Server by kulahan on Tuesday April 29, 2025 @06:31PM (#43838815)
There probably aren’t any perfectly lossless compression algorithms, I guess? Nothing would ever be all zeroes, so it might not be an edge case accounted for or something? I have no idea, just pulling at strings. Maybe someone smarter can jump in here.
Re:I Use Zip Bombs to Protect My Server by mr_toad on Tuesday April 29, 2025 @07:35PM (#43839351)
No lossless algorithm can compress all strings; some will end up larger. This is a consequence of the pigeonhole principle.