help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] [PATCH 1/3] sockets: Check the length before attempting


From: Holger Hans Peter Freyther
Subject: [Help-smalltalk] [PATCH 1/3] sockets: Check the length before attempting to fix data.
Date: Fri, 04 Feb 2011 22:27:59 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b2 Thunderbird/3.1.7

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  <address@hidden>

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

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


Attachment: 0001-sockets-Check-the-length-before-attempting-to-fix-da.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]