gnustep-dev
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Bug in libobjc2 gc_none free
From
:
Justin Hibbits
Subject
:
Bug in libobjc2 gc_none free
Date
:
Thu, 28 Jul 2011 23:17:52 -0400
The gc_none.c free() is simply libc's free(), but gc->allocate_class()
returns ((id)ptr + 1). This mismatch causes segfaults on FreeBSD.
Attached is a patch that fixes this, but only for this one scenario.
A better patch is needed for real.
- Justin
fix_free_nogc.diff
Description:
Binary data
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
Bug in libobjc2 gc_none free
,
Justin Hibbits
<=
Re: Bug in libobjc2 gc_none free
,
David Chisnall
,
2011/07/31
Re: Bug in libobjc2 gc_none free
,
Justin Hibbits
,
2011/07/31
Prev by Date:
Re: @autoreleasepool
Next by Date:
Re: Bug in libobjc2 gc_none free
Previous by thread:
@autoreleasepool
Next by thread:
Re: Bug in libobjc2 gc_none free
Index(es):
Date
Thread