diff options
| author | Andreas Färber <afaerber@suse.de> | 2014-04-17 19:21:12 +0200 |
|---|---|---|
| committer | Andreas Färber <afaerber@suse.de> | 2014-05-05 20:58:33 +0200 |
| commit | 535b45631ad7176e10dab89d55443b5a096500b9 (patch) | |
| tree | d78cd4408f6b5e4ea1092ee2bddc341ec9c222e5 /hw/timer/mc146818rtc.c | |
| parent | a7d915f388355f5353f2b692a1abd7868b8307a1 (diff) | |
| download | focaccia-qemu-535b45631ad7176e10dab89d55443b5a096500b9.tar.gz focaccia-qemu-535b45631ad7176e10dab89d55443b5a096500b9.zip | |
qtest: Be paranoid about accept() addrlen argument
POSIX specifies that address_len shall on output specify the length of the stored address; it does not however specify whether it may get updated on failure as well to, e.g., zero. In case EINTR occurs, re-initialize the variable to the desired value. Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/timer/mc146818rtc.c')
0 files changed, 0 insertions, 0 deletions