~artem-anufrij/geary/desktop-uses-notifications

Viewing all changes in revision 1621.

  • Committer: Jim Nelson
  • Date: 2014-11-14 23:18:12 UTC
  • Revision ID: git-v1:da2efeab03a33b77b4029145129b685b7b85188e
Move UID/UIDVALIDITY/SeqNum from signed 32 -> unsigned 32: Bug #737642

Prior code inadvertantly limited UID and UIDVALIDITY to signed, not
unsigned, 32-bit integers.  I've also added stronger checking of
numbers received off the wire, both that they're truly numeric
according to RFC and that they're within boundaries, if specified.

This also enforces bit width of integers from IMAP string parameters
to avoid similar problems in the future.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: