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 _______________________________________________ help-smalltalk mailing list help-smalltalk@gnu.org http://lists.gnu.org/mailman/listinfo/help-smalltalk