[perl #53072] [PATCH] Fix crashes in Lua, free()ing an invalid pointer

2008-04-19 Thread Mark Glines via RT
On Sat Apr 19 11:08:47 2008, [EMAIL PROTECTED] wrote: > On Saturday 19 April 2008 09:31:12 Mark Glines wrote: > > I'm hoping someone familiar with > > the internals can review this, to make sure I haven't just created a > > memory leak. > > The patch is correct. Thanks for the review. Checked in

[perl #53072] [PATCH] Fix crashes in Lua, free()ing an invalid pointer

2008-04-19 Thread via RT
# New Ticket Created by Mark Glines # Please include the string: [perl #53072] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=53072 > Gcc emits the following warnings: ./lua.pmc: In function 'Parrot_Lua_nci_caller': ./lua.

Re: [perl #53072] [PATCH] Fix crashes in Lua, free()ing an invalid pointer

2008-04-19 Thread chromatic
On Saturday 19 April 2008 09:31:12 Mark Glines wrote: > Gcc emits the following warnings: > > ./lua.pmc: In function 'Parrot_Lua_nci_caller': > ./lua.pmc:127: warning: passing argument 2 of 'strncmp' from incompatible > pointer type ./lua.pmc:128: warning: passing argument 1 of > 'string_cstring_f