bug30041 277 B

  1. o Minor bugfixes (hardening):
  2. - Verify in more places that we are not about to create a buffer
  3. with more than INT_MAX bytes, to avoid possible OOB access in the event
  4. of bugs. Fixes bug 30041; bugfix on Found and fixed by
  5. Tobias Stoeckmann.