aboutsummaryrefslogtreecommitdiff
path: root/ui/vnc-enc-hextile.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2011-04-14 14:11:56 +0100
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2011-04-14 17:31:47 +0200
commit420b6c317de87890e06225de6e2f8af7bf714df0 (patch)
tree3cbbae13610ae4451a7020ebe945affd6b51d839 /ui/vnc-enc-hextile.c
parent4d9ad7f793605abd9806fc932b3e04e028894565 (diff)
tests/test-mmap.c: Check mmap() return value before using it
Correct the position of a "stop if MAP_FAILED" check in the mmap() tests, so that if mmap() does fail we print a failure message rather than segfaulting inside memcpy(). Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'ui/vnc-enc-hextile.c')
0 files changed, 0 insertions, 0 deletions