Re: [OPEN-ILS-DEV] PATCH: socket_bundle.c (latent bugs)

2008-03-10 Thread Mike Rylander
On Sat, Mar 1, 2008 at 5:38 PM, Scott McKellar [EMAIL PROTECTED] wrote: 1. In socket_open_unix_server() and socket_open_unix_client(), I added checks to make sure that the path parameter doesn't point to aomething too big to fit into the receiving buffer of the struct sockaddr_un. 2. In

[OPEN-ILS-DEV] PATCH: socket_bundle.c (latent bugs)

2008-03-01 Thread Scott McKellar
1. In socket_open_unix_server() and socket_open_unix_client(), I added checks to make sure that the path parameter doesn't point to aomething too big to fit into the receiving buffer of the struct sockaddr_un. 2. In _socket_handle_client_data() I add a terminal nul to the data received by recv().