OSDN Git Service

efidp_duplicate_extra(): error if our allocation is too small.
authorPeter Jones <pjones@redhat.com>
Mon, 1 May 2017 19:14:33 +0000 (15:14 -0400)
committerPeter Jones <pjones@redhat.com>
Mon, 1 May 2017 20:06:31 +0000 (16:06 -0400)
commit32f6b0d5974e39dbcce89d9ab8551e35eb8fdaab
treeed88be39c68fc39f1e2f12fbe34cc3da874925f9
parent20e9ecb4a4b327a32dc639a7ff826af5089e3fbf
efidp_duplicate_extra(): error if our allocation is too small.

Covscan believes we might pass 0 to calloc(), though I suspect this is
because it doesn't fully grok add().

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