birdc 2.0.0 crashes

Vincent Bernat bernat at luffy.cx
Thu Dec 14 13:18:14 CET 2017


 ❦ 14 décembre 2017 13:13 +0100, Clemens Schrimpe <clemens.schrimpe at gmail.com> :

> (gdb) p the_history
> $1 = (HIST_ENTRY **) 0x609470
> (gdb) p the_history[0]
> $2 = (HIST_ENTRY *) 0x609630
> (gdb) p *(the_history[0])
> $3 = {line = 0x609650 „show protocols „, timestamp = 0x609610 "", data = 0x0}
>
>
> Double-plus-weird!

And "p history_offset"? Should be 0.
-- 
Replace repetitive expressions by calls to a common function.
            - The Elements of Programming Style (Kernighan & Plauger)



More information about the Bird-users mailing list