|
Message-ID: <20140712043823.GC1789@newbook> Date: Fri, 11 Jul 2014 21:38:24 -0700 From: Isaac Dunham <ibid.ag@...il.com> To: musl@...ts.openwall.com Subject: Re: Solved: Attempting to debug C++ library and command via valgrind On Sat, Jul 12, 2014 at 12:09:31AM -0400, Rich Felker wrote: > On Fri, Jul 11, 2014 at 09:03:40PM -0700, Isaac Dunham wrote: > > Hello, > > Just so everyone knows, someone on the sword-devel list (the person who > > asked me for valgrind output) found and fixed the bug. > > Rich, thanks for mentioning strace; that ended up being the key. > > What did it end up being? Partly just curious, but I also figure it > might be useful to know if this was some sort of UB from the > application that corrupted stdio state (in which case it's a symptom > we might see again) or whether it was just an application logic bug > (writing the same thing twice). Application logic bug, *reading* the same thing twice. To be exact, there was a closing brace at the wrong indentation/nesting level. Thanks, Isaac Dunham
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.