summaryrefslogtreecommitdiffstats
path: root/linux-user/i386
diff options
context:
space:
mode:
authorTom Musta2014-08-12 20:53:37 +0200
committerRiku Voipio2014-08-22 14:06:35 +0200
commitedcc5f9dc39309d32f4b3737e6b750ae967f5bbd (patch)
treee1e2948466ac9057566dff7aa8e4b5d10b62c6ee /linux-user/i386
parentlinux-user: Conditionally Pass Attribute Pointer to mq_open() (diff)
downloadqemu-edcc5f9dc39309d32f4b3737e6b750ae967f5bbd.tar.gz
qemu-edcc5f9dc39309d32f4b3737e6b750ae967f5bbd.tar.xz
qemu-edcc5f9dc39309d32f4b3737e6b750ae967f5bbd.zip
linux-user: Detect Negative Message Sizes in msgsnd System Call
The msgsnd system call takes an argument that describes the message size (msgsz) and is of type size_t. The system call should set errno to EINVAL in the event that a negative message size is passed. Signed-off-by: Tom Musta <tommusta@gmail.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'linux-user/i386')
0 files changed, 0 insertions, 0 deletions