Re:What is the smallest possible valid PDF?
by kadoban on Saturday March 21, 2020 @01:26AM
(#22644711)
Testing near/at boundary conditions is generally good practice.
A minimal size file could easily catch some cases where your code assumes some sort of structure (some flag, header, metadata structure, etc.) exists when it's possible it actually doesn't.
A minimal size file could easily catch some cases where your code assumes some sort of structure (some flag, header, metadata structure, etc.) exists when it's possible it actually doesn't.