[PATCH] Fix degfault when using pyrpc ClientConnection over TCP

Gary Lockyer gary at catalyst.net.nz
Thu Apr 20 18:53:51 UTC 2017


The endpoints string array in the ndr_interface_table was not
initialized, causing a segfault when making a connection over TCP.

The added tests will trigger the segfault if run on an unpatched pyrpc.c

Review and push appreciated

Gary
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-pyrpc-ClientConnection-fix-segfault.patch
Type: text/x-patch
Size: 2995 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170421/1a003b9a/0001-pyrpc-ClientConnection-fix-segfault.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170421/1a003b9a/signature.sig>


More information about the samba-technical mailing list