~wiml/libdrizzle/integer-sizes

Viewing all changes in revision 112.

  • Committer: Wim Lewis
  • Date: 2013-03-06 18:05:42 UTC
  • Revision ID: wiml@omnigroup.com-20130306180542-xvidzjnaitaxuqwa
drizzle_unpack_string() integer-width safety.
The size of a buffer in our memory space is a 'size_t'.
Fail if the string extends past the limits of the buffer we're reading it from (should only happen if there's a protocol error).

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: