diff options
author | Markus Armbruster <armbru@redhat.com> | 2015-11-30 17:32:32 +0100 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:28:20 -0600 |
commit | 8c0ece99408c02f3e8fbf6b76c92ac914ae12ef8 (patch) | |
tree | 706879731eb6febfc6d9fb305301499861d4d910 /Makefile | |
parent | 7f0dd233b1bab38e5408f96be71781c2da20472a (diff) | |
download | hqemu-8c0ece99408c02f3e8fbf6b76c92ac914ae12ef8.zip hqemu-8c0ece99408c02f3e8fbf6b76c92ac914ae12ef8.tar.gz |
coverity: Model g_memdup()
We model all the non-deprecated memory allocation functions from
https://developer.gnome.org/glib/stable/glib-Memory-Allocation.html
except for g_memdup(), g_clear_pointer(), g_steal_pointer(). We don't
use the latter two. Model the former.
Coverity now reports an OVERRUN
vl.c:2317: alloc_strlen: Allocating insufficient memory for the terminating null of the string.
Correct, but we omit the terminating null intentionally there.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <1448901152-11716-1-git-send-email-armbru@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions