summaryrefslogtreecommitdiffstats
path: root/zebra/zserv.h
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@opensourcerouting.org>2019-10-12 01:15:46 +0200
committerRafael Zalamena <rzalamena@opensourcerouting.org>2019-10-12 03:41:17 +0200
commit46fcb2df90409e401223d29c6162753bf73fca64 (patch)
tree324c50ed09846248ec67f723c15a1100222c9a1d /zebra/zserv.h
parentbfdd: don't allow link-local without interface (diff)
downloadfrr-46fcb2df90409e401223d29c6162753bf73fca64.tar.xz
frr-46fcb2df90409e401223d29c6162753bf73fca64.zip
lib: use `prefix` for yang get prefix wrapper
This change fixes a static analyzer warning and should also make us safer when using this function. At the moment the code that triggered the warning is the only one that uses this function. Passing anything other than `struct prefix` to `str2prefix` function is dangerous, because the structure might be smaller than expected and we might have an buffer overflow. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'zebra/zserv.h')
0 files changed, 0 insertions, 0 deletions