[Bro-Dev] #1004: Uninitialized memory error in optimized mode

Bro Tracker bro at tracker.bro.org
Fri May 17 15:15:28 PDT 2013

#1004: Uninitialized memory error in optimized mode
  Reporter:  robin    |      Owner:
      Type:  Problem  |     Status:  new
  Priority:  High     |  Milestone:  Bro2.2
 Component:  Bro      |    Version:  git/master
Resolution:           |   Keywords:

Comment (by jsiwek):

 I can also reproduce this on Fedora 18.  But the valgrind manual says:
 "If you are planning to use Memcheck: On rare occasions, compiler
 optimisations (at -O2 and above, and sometimes -O1) have been observed to
 generate code which fools Memcheck into wrongly reporting uninitialised
 value errors, or missing uninitialised value errors."

 So I'd expect valgrind to report problems most accurately without
 optimizations enabled and it doesn't show any.  The symptoms do seem like
 they're a memory-related mishap, though...

Ticket URL: <http://tracker.bro.org/bro/ticket/1004#comment:3>
Bro Tracker <http://tracker.bro.org/bro>
Bro Issue Tracker

More information about the bro-dev mailing list