Re:What Every C Programmer Should Know About Undefined Behav...
by Peaker on Thursday May 12, 2011 @09:31AM
(#2540498)
I had a similar bug. Using a tracing framework of macros, I had something like:
The NULL check was optimized out. The dereference of foo_ptr was hidden behind TRACE_FOO, which made it even harder to spot. I spent hours on that one :-)
[ Parent
| on HN ]
There are no comments on this comment yet.