Home
last modified time | relevance | path

Searched hist:"55 a10996" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/util/
H A Dqemu-sockets.c55a10996 Fri Jan 30 13:37:55 CST 2015 Kevin Wolf <kwolf@redhat.com> qemu-sockets: Fix buffer overflow in inet_parse()

The size of the stack allocated host[] array didn't account for the
terminating '\0' byte that sscanf() writes. Fix the array size.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>