help-smalltalk
[Top][All Lists]
Advanced

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

Re: [Help-smalltalk] [PATCH 3/3] cint: Fail the VMpr_CFuncDescriptor_cal


From: Holger Hans Peter Freyther
Subject: Re: [Help-smalltalk] [PATCH 3/3] cint: Fail the VMpr_CFuncDescriptor_call primitive with wrong args
Date: Fri, 04 Feb 2011 22:40:48 +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

On 02/04/2011 10:28 PM, Holger Hans Peter Freyther wrote:
> +cleanup:
> +  /* Attempt to cleanup all pushing of arguments. We have tried to
> +     write at si and now need to cleanup up until this point. */
> +  for (i = 0, arg = local_arg_vec; i < si; i++, arg++)


okay the < si is wrong...i should probably use c_func_cur->arg_idx or such. I
will create another testcase that can be used to verify we are not leaking
memory here.



reply via email to

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