summaryrefslogtreecommitdiff
path: root/lib/lib_errors.h
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@opensourcerouting.org>2023-01-18 15:53:10 -0300
committerRafael Zalamena <rzalamena@opensourcerouting.org>2023-01-18 15:53:10 -0300
commit18b7958e47b77b3a795ff4022c454c425bbae26d (patch)
treed6599db6c22e54972f838f1719e6cd375035a24b /lib/lib_errors.h
parent405227b51959d9b05aaaf1bd1d33849e31565ae7 (diff)
zebra: fix fpm netlink encode out of bounds read
Don't attempt to encode the pointer address instead pass the pointer directly so the real contents can be accessed. (`ri->pref_src` type is `union g_addr *`) Found by Coverity Scan (CID 1482162) Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'lib/lib_errors.h')
0 files changed, 0 insertions, 0 deletions