Page MenuHomeFreeBSD

D62008.1795646804.diff
No OneTemporary

Authored By
Unknown
Size
352 B
Referenced Files
None
Subscribers
None

D62008.1795646804.diff

diff --git a/sys/dev/hyperv/hvsock/hv_sock.c b/sys/dev/hyperv/hvsock/hv_sock.c
--- a/sys/dev/hyperv/hvsock/hv_sock.c
+++ b/sys/dev/hyperv/hvsock/hv_sock.c
@@ -1249,7 +1249,8 @@
int error;
if (pcb == NULL || pcb->chan == NULL) {
- pcb->so->so_error = EIO;
+ if (pcb != NULL && pcb->so != NULL)
+ pcb->so->so_error = EIO;
return (0);
}

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 25, 10:46 PM (21 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41997881
Default Alt Text
D62008.1795646804.diff (352 B)

Event Timeline