summaryrefslogtreecommitdiff
path: root/lib/ptm_lib.c
diff options
context:
space:
mode:
authorDenil Vira <denil@cumulusnetworks.com>2015-07-23 08:47:21 -0700
committerDenil Vira <denil@cumulusnetworks.com>2015-07-23 08:47:21 -0700
commit683de05f8708a43aabde961329b56b83cd856e31 (patch)
tree62aafe9358921b39df19cfda0343fb05e9a866e0 /lib/ptm_lib.c
parent43fdf718a25be053d6e36c8d0aecfaddc2a155cf (diff)
Fix bugs reported by coverity scan
1. Fix useless call in bgpd/bgp_mplsvpn.c Coverity scan ID : 1302528. Calling "decode_label(pnt)" is only useful for its return value, which is ignored. Removed the call. 2. Fix logically dead code in lib/stream.c Coverity Scan ID 1302488. Test for size==0 makes no sense, since assert immediately before it would not let this code happen. 3. Fix Free Pointer dereference in lib/filter.c Coverity Scan ID 23056. access is accessed after free in access_list_delete
Diffstat (limited to 'lib/ptm_lib.c')
0 files changed, 0 insertions, 0 deletions