summaryrefslogtreecommitdiff
path: root/lib/command.h
diff options
context:
space:
mode:
authorPaul Jakma <paul.jakma@hpe.com>2016-02-09 15:23:03 +0000
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-09-23 12:12:17 -0400
commitd91788284ed910bcf945c01ceb18334423cc352d (patch)
tree9f79d7d56a5e5d7abb7455d01c4c8b832e1dc243 /lib/command.h
parent6b143a68d3a44be42f2370b9d91409eceb14cebd (diff)
lib: Check prefix length from zebra is sensible
* zclient.c: prefix length on router-id and interface address add messages not sanity checked. fix. * */*_zebra.c: Prefix length on zebra route read was not checked, and clients use it to write to storage. An evil zebra could overflow client structures by sending overly long prefixlen. Prompted by discussions with: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/command.h')
0 files changed, 0 insertions, 0 deletions