commit | 67133192afc14bdb97518840579baad722c9c304 | [log] [tgz] |
---|---|---|
author | Monty <xiphmont@xiph.org> | Fri Jun 04 06:01:33 2010 +0000 |
committer | Monty <xiphmont@xiph.org> | Fri Jun 04 06:01:33 2010 +0000 |
tree | b88eb7342a8ba6c8be5a02912e742724c1bcb35f | |
parent | e64842ca0c77b39fafc4522ba5c22618ab9e01c4 [diff] |
Two cleanups of buffer LONG_MAX overflow hardening: GCC optimizes out the overflow check due to the overflow check reyling on overflow; reimplement using type-based TYPE_MAX macro Correct an accidental assignment-during-check that wasn't a bug, but was semantically incorrect and rightly triggered a compilation warning. svn path=/trunk/ogg/; revision=17270