LWN.net Logo

A turning point for GNU libc

A turning point for GNU libc

Posted Mar 28, 2012 18:25 UTC (Wed) by arjan (subscriber, #36785)
In reply to: A turning point for GNU libc by Cyberax
Parent article: A turning point for GNU libc

that's what strcpy() does...

but yes, that's one of the options, and as default behavior it's not all that bad (it means you can have a crash dump collector detect it and send it to the developer team).
Just it's also a death-sentence kind of API, you also want a variant which is "try to see if it fits, but if it doesn't let me know and I'll handle it gracefully"....


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds