diff options
author | paul <paul> | 2008-02-28 23:26:02 +0000 |
---|---|---|
committer | paul <paul> | 2008-02-28 23:26:02 +0000 |
commit | 3c220840d7a3d62497a45ff77ee01a87e6023e8d (patch) | |
tree | bbb0f4e7ec8331a64ba4ffbc4e62e9593c9af2ce /ripd/rip_interface.c | |
parent | 538d0f3a00ec246d41207324d0cb88a0061b0101 (diff) | |
download | quagga-3c220840d7a3d62497a45ff77ee01a87e6023e8d.tar.bz2 quagga-3c220840d7a3d62497a45ff77ee01a87e6023e8d.tar.xz |
[lib] Fix the struct message LOOKUP function to be more robust
2008-02-28 Paul Jakma <paul.jakma@sun.com>
* log.c: (mes_lookup) Sowmini Varadhan diagnosed a problem where
this function can cause a NULL dereference, on lookups for unknown
indices, or messages with NULL strings. Can occur, e.g., debug
logging code when processing received messages. Fixed to accept a
pointer to a default string to be used if there is no match.
* log.h: LOOKUP adjusted to match
Diffstat (limited to 'ripd/rip_interface.c')
0 files changed, 0 insertions, 0 deletions