OSDN Git Service

dp.h: Try to make covscan believe format() is checking its bounds.
authorPeter Jones <pjones@redhat.com>
Mon, 1 May 2017 19:59:09 +0000 (15:59 -0400)
committerPeter Jones <pjones@redhat.com>
Mon, 1 May 2017 20:06:31 +0000 (16:06 -0400)
commit9d74090cea256021e68b204c4770a5df28398cbd
treeaa20789119c0e5d5f89ff4bf6a7606b1442ff697
parent089265335dfb746a77ec15a917c12e8c77a41240
dp.h: Try to make covscan believe format() is checking its bounds.

covscan doesn't grok that size and off wind up being proxies for buf's
NULL check.  Hilarity ensues.

Signed-off-by: Peter Jones <pjones@redhat.com>
src/dp.h