diff options
author | William Bowling <will@wbowling.info> | 2019-03-01 21:45:56 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-03-06 23:36:22 +0100 |
commit | d3222975c7d6cda9e25809dea05241188457b113 (patch) | |
tree | 279e19d3623a1f5456ae5267bbebf62b40bbaebd /docs/interop | |
parent | 6c419a1e06c21c4568d5a12a9c5cafcdb00f6aa8 (diff) |
slirp: check sscanf result when emulating ident
When emulating ident in tcp_emu, if the strchr checks passed but the
sscanf check failed, two uninitialized variables would be copied and
sent in the reply, so move this code inside the if(sscanf()) clause.
Signed-off-by: William Bowling <will@wbowling.info>
Cc: qemu-stable@nongnu.org
Cc: secalert@redhat.com
Message-Id: <1551476756-25749-1-git-send-email-will@wbowling.info>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'docs/interop')
0 files changed, 0 insertions, 0 deletions