[Bro-Dev] #320: Check for counters, length fields, etc. that can overflow and change to 64 bit

Bro Tracker bro at tracker.icir.org
Mon Nov 22 14:10:34 PST 2010


#320: Check for counters, length fields, etc. that can overflow and change to 64
bit
----------------------+------------------------
 Reporter:  gregor    |      Owner:
     Type:  Task      |     Status:  new
 Priority:  Normal    |  Milestone:  Bro1.7
Component:  Bro       |    Version:  git/master
 Keywords:  inttypes  |
----------------------+------------------------
 {{{
 #!rst

 * Check the source code and analyzers for cases in which 32 bit integers
   are used for length fields and counters that can potentially overflow.

 * Find cases in which ``int`` or ``unsigned`` (without length
   specifiers) are used, in particular for counters for length fields,
   tha could overflow, and change them to integer types with widths
   (e.g.,  int32_t, uint64_t).

 }}}

-- 
Ticket URL: <http://tracker.icir.org/bro/ticket/320>
Bro Tracker <http://tracker.icir.org/bro>
Bro Issue Tracker




More information about the bro-dev mailing list