diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2023-09-06 08:39:02 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2023-09-06 08:42:07 -0400 |
| commit | 2b9373c114dfc0154f6291474789f44256358518 (patch) | |
| tree | 38c1fbc9d9d630b95373778ffd9c8bf3681b37b6 /python/xref2vtysh.py | |
| parent | 58201b3d635f5d38975f5126473685c377c62c23 (diff) | |
zebra: Prevent Null pointer deref
If the kernel sends us bad data then the kind_str
will be NULL and a later strcmp operation will
cause a crash.
As a note: If the kernel is not sending us properly
formated netlink messages then we got bigger problems
than zebra crashing. But at least let's prevent zebra
from crashing.
Reported-by: Iggy Frankovic <iggyfran@amazon.com>
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'python/xref2vtysh.py')
0 files changed, 0 insertions, 0 deletions
