[PATCH 1/3] sockets: Check the length before attempting to fix data.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[PATCH 1/3] sockets: Check the length before attempting to fix data.

Holger Freyther

The code attempts to fixup an address for UNIX System V
systems but does not verify that the data is actually
allocated at the position that is written to. Fix this.

2011-02-04  Holger Hans Peter Freyther  <[hidden email]>

        * libgst/sockets.c: Add size check for the socket addr.

Signed-off-by: Holger Hans Peter Freyther <[hidden email]>
---
 ChangeLog        |    4 ++++
 libgst/sockets.c |   11 ++++++-----
 2 files changed, 10 insertions(+), 5 deletions(-)



_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

0001-sockets-Check-the-length-before-attempting-to-fix-da.patch (1K) Download Attachment