commit | 606a29c55caa324aca7dbb15d50525faa5328cb0 | [log] [tgz] |
---|---|---|
author | Guy Harris <guy@alum.mit.edu> | Sun Feb 07 17:47:31 2010 -0800 |
committer | Guy Harris <guy@alum.mit.edu> | Sun Feb 07 17:47:31 2010 -0800 |
tree | 4c023b00116c0958f7b14af5b6081b839b79a33b | |
parent | 7906cae611d51d4840495cd5a6861800b76ee6d2 [diff] |
Check the containing item length in some loops. In some loops, don't loop just until we get an error, stop when we run out of data to parse. Also, add some comments to indicate what we know about lengths at various points, before we do something with the length that happens to assume what we know. Add some checks that this auditing found necessary.