]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: ncbuf: fix coverity warning on uninit sz_data
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 13 May 2022 13:33:50 +0000 (15:33 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 13 May 2022 15:06:24 +0000 (17:06 +0200)
commitb5ca943ff9980c4272b8f6793130c49d9ac7493d
treed259c6585431697792927dc5379008dbdac0e3f6
parent26f221bd557ebaac8906e7acad257b7b299ea759
BUG/MINOR: ncbuf: fix coverity warning on uninit sz_data

Coverity reports that data block generated by ncb_blk_first() has
sz_data field uninitialized. This has no real impact as it has no sense
for data block. Set to 0 to hide the warning.

This should fix github issue #1695.
src/ncbuf.c