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) {