News for hackers. Stuff that matters.
Re:Zip Bomb by gburt on Friday October 05, 2012 @06:38PM (#4618989)
So there's a constant for path length that only applies sometimes...
Re:Zip Bomb by flatline on Friday October 05, 2012 @11:08PM (#4619626)
This is also the case on Unix. According to Advanced Programming in the Unix Environment, it is true of many of these so-called limits. The POSIX standard defined many values that were too small for modern-day use, such as _POSIX_PATH_MAX set to 255. The non-posix values are not all defined in limits.h, and must be queried at runtime. Even then, some are indeterminate. But at least you're not relegated to 255 characters;)