[portals4] r2293 committed - Fix problem with UDP where sending a message with a size in a tight ra...

0 views
Skip to first unread message

port...@googlecode.com

unread,
Dec 3, 2014, 10:22:53 AM12/3/14
to portals4...@googlegroups.com
Revision: 2293
Author: regra...@gmail.com
Date: Wed Dec 3 15:22:45 2014 UTC
Log: Fix problem with UDP where sending a message with a size in a
tight range intermittently resulted in a seg fault


https://code.google.com/p/portals4/source/detail?r=2293

Modified:
/trunk/src/ib/ptl_udp.c

=======================================
--- /trunk/src/ib/ptl_udp.c Fri Nov 15 16:59:59 2013 UTC
+++ /trunk/src/ib/ptl_udp.c Wed Dec 3 15:22:45 2014 UTC
@@ -1050,6 +1050,8 @@
return NULL;
}
}
+ thebuf->transfer.udp.data = &thebuf->internal_data;
+ thebuf->transfer.udp.my_iovec.iov_len = thebuf->length;
}

if (&thebuf->transfer.udp.conn_msg != NULL) {
Reply all
Reply to author
Forward
0 new messages