LWN.net Logo

The ups and downs of strlcpy()

The ups and downs of strlcpy()

Posted Jul 25, 2012 12:30 UTC (Wed) by NAR (subscriber, #1313)
In reply to: The ups and downs of strlcpy() by dlang
Parent article: The ups and downs of strlcpy()

Why would aborting a single process shut down the whole gaming server? I mean if you have a sufficiently large and complicated software, there will be terminal bugs there that you have to handle (e.g. have a lightweight supervisor process that starts a separate server for each new client). But if you already handle these problems, then you might as well crash on purpose in the worker processes.


(Log in to post comments)

The ups and downs of strlcpy()

Posted Jul 26, 2012 11:51 UTC (Thu) by hppnq (guest, #14462) [Link]

It would not make sense to handle the relatively complex case of failing modules correctly but not string manipulation routines.

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