[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-smalltalk] [PATCH 3/4] cint: Fail the VMpr_CFuncDescriptor_call pr
From: |
Holger Hans Peter Freyther |
Subject: |
[Help-smalltalk] [PATCH 3/4] cint: Fail the VMpr_CFuncDescriptor_call primitive with wrong args |
Date: |
Sat, 05 Feb 2011 17:25:24 +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 |
Instead of crashing the VM we will fail the primitive if a type
can not be converted from Smalltalk to C. The code attempts to
free all data allocated for this primitive.
2011-02-04 Holger Hans Peter Freyther <address@hidden>
* libgst/cint.c: Propagate type conversion failures.
2011-02-04 Holger Hans Peter Freyther <address@hidden>
* UnitTest.st: Verify that the primitive are failing.
Signed-off-by: Holger Hans Peter Freyther <address@hidden>
---
ChangeLog | 4 +++
libgst/cint.c | 51 +++++++++++++++++++++++++++++------------
packages/sockets/ChangeLog | 4 +++
packages/sockets/UnitTest.st | 15 ++++++++++++
4 files changed, 59 insertions(+), 15 deletions(-)
0003-cint-Fail-the-VMpr_CFuncDescriptor_call-primitive-wi.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Help-smalltalk] [PATCH 3/4] cint: Fail the VMpr_CFuncDescriptor_call primitive with wrong args,
Holger Hans Peter Freyther <=