diff options
| author | Daniel P. Berrange | 2017-10-27 09:51:59 +0200 |
|---|---|---|
| committer | Daniel P. Berrange | 2017-11-28 11:48:04 +0100 |
| commit | 2d7ad7c05e762d5b10a57eba9af1bb6b41700854 (patch) | |
| tree | 89d6cd38e4b59739e7851de3033399348f0b6448 /linux-headers/linux | |
| parent | Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-2.11-20171127' int... (diff) | |
| download | qemu-2d7ad7c05e762d5b10a57eba9af1bb6b41700854.tar.gz qemu-2d7ad7c05e762d5b10a57eba9af1bb6b41700854.tar.xz qemu-2d7ad7c05e762d5b10a57eba9af1bb6b41700854.zip | |
sockets: avoid crash when cleaning up sockets for an invalid FD
If socket_listen_cleanup is passed an invalid FD, then querying the socket
local address will fail. We must thus be prepared for the returned addr to
be NULL
Reported-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'linux-headers/linux')
0 files changed, 0 insertions, 0 deletions
