help-smalltalk
[Top][All Lists]
Advanced

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

[Help-smalltalk] [PATCH 0/3] Avoid VM crashes due Socket and cCallout mi


From: Holger Hans Peter Freyther
Subject: [Help-smalltalk] [PATCH 0/3] Avoid VM crashes due Socket and cCallout misusage
Date: Fri, 04 Feb 2011 22:27:10 +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

Hi,

this series attempts to fix some VM crashes on simple 'misusage' of the API.
When trying to play around it is always bad to have the VM crash, e.g. by
getting the parameters to a call wrong, or by forgetting to set an address
and a port on a datagram.



Holger Hans Peter Freyther (3):
  sockets: Check the length before attempting to fix data.
  sockets: Add a testcase to test invalid input
  cint: Fail the VMpr_CFuncDescriptor_call primitive with wrong args

 ChangeLog                    |   12 +++++++
 libgst/cint.c                |   51 ++++++++++++++++++++++---------
 libgst/sockets.c             |   11 ++++---
 packages/sockets/ChangeLog   |    9 +++++
 packages/sockets/UnitTest.st |   68++++++++++++++++++++++++++++++++++++++++++
 packages/sockets/package.xml |    6 ++++
 tests/testsuite.at           |    1 +
 7 files changed, 138 insertions(+), 20 deletions(-)
 create mode 100644 packages/sockets/UnitTest.st

-- 1.7.3.5



reply via email to

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