bug22737 585 B

123456789101112
  1. o Minor bugfixes (defensive programming, undefined behavior):
  2. - Fix a memset() off the end of an array when packing cells. This
  3. bug should be harmless in practice, since the corrupted bytes
  4. are still in the same structure, and are always padding bytes,
  5. ignored, or immediately overwritten, depending on compiler
  6. behavior. Nevertheless, because the memset()'s purpose is to
  7. make sure that any other cell-handling bugs can't expose bytes
  8. to the network, we need to fix it. Fixes bug 22737; bugfix on
  9. 0.2.4.11-alpha. Fixes CID 1401591.