]> git.proxmox.com Git - mirror_frr.git/commit
lib zebra: str-z check (2) (Coverity 1465494)
authorpaco <paco@voltanet.io>
Wed, 27 Jun 2018 10:43:43 +0000 (12:43 +0200)
committerpaco <paco@voltanet.io>
Wed, 27 Jun 2018 12:22:01 +0000 (14:22 +0200)
commitb6312ad1857ba6260c52204d5452bfbf1a611757
tree3d43a59298ad99a18db5eaf4803e9b50a1dbfd71
parent71a7b1f82f96c85d85b6984c76e3e50c531adae3
lib zebra: str-z check (2) (Coverity 1465494)

This is an additional correction after  45981fda0634f7277c27c2a55e30d7f3433ffa16 / PR #2462. I hope
this fixes the Coverity warning (I've added an additional check for ensuring
the string provided by the inotify read is zero-terminated).

Signed-off-by: F. Aragon <paco@voltanet.io>
zebra/zebra_netns_notify.c