[sheepdog] [PATCH]Check malloc error for collie
mitake.hitoshi at gmail.com
Wed Feb 20 02:52:44 CET 2013
At Tue, 19 Feb 2013 20:17:15 +0800,
> On Mon, Feb 18, 2013 at 11:16 AM, MORITA Kazutaka
> <morita.kazutaka at lab.ntt.co.jp> wrote:
> > At Mon, 18 Feb 2013 10:55:05 +0900,
> > Hitoshi Mitake wrote:
> >> Or should collie catch SIGABRT and call exit() in the handler?
> > This sounds better to me because it also enables us to use panic and
> > assert in collie sources.
> I am not clear about your suggestions, which how should i correct this patch
> for a v2 one?
This is my understanding:
1. replacing malloc() with xmalloc()
2. register signal handler for SIGABRT, and let the handler call
More information about the sheepdog