Using __chk_fail from libstdc++

Carlos O'Donell carlos_odonell@mentor.com
Mon Jun 4 13:48:00 GMT 2012


On 6/4/2012 3:51 AM, Florian Weimer wrote:
> On 06/01/2012 10:23 PM, Roland McGrath wrote:
>>> Perhaps it is possible to express this in a test case?
>>
>> Good point.  It sounds to me like you or Mike just volunteered. ;-)
> 
> It turns out that there already is a test case which checks this implicitly.  I think adding a comment to it is sufficient.
> 
> 2012-06-04  Florian Weimer  <fweimer@redhat.com>
> 
>     * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
> 

This looks good to me, but we are in 2.16 freeze right now.

Could you please file a BZ for glibc, and add target milestone 2.17, that way we can check this in after the freeze.

Cheers,
Carlos.
-- 
Carlos O'Donell
Mentor Graphics / CodeSourcery
carlos_odonell@mentor.com
carlos@codesourcery.com
+1 (613) 963 1026



More information about the Libc-alpha mailing list