commit | 745a278bef0d3e8106759cb2482b22c3f5be10d2 | [log] [tgz] |
---|---|---|
author | Nick Wellnhofer <wellnhofer@aevum.de> | Wed Jul 06 19:43:24 2016 +0200 |
committer | Nick Wellnhofer <wellnhofer@aevum.de> | Wed Jul 06 19:43:24 2016 +0200 |
tree | fb0684f77655d3ac82127b36dd8374e9dbdd4ff7 | |
parent | d73b1cc0fb85b02564aaaa961515357299439c8d [diff] |
Check for BitVector capacity overflow The actual capacity of a BitVector is rounded up to the next multiple of eight, so capacity must not be larger than (SIZE_MAX - 7).