Travis Cross 3c32dd3bc9 Return NULL from sub_alloc for zero size
When zero was passed for the size to `sub_alloc`, we were passing this
size on to `malloc` or `calloc`, which is unusual enough that static
analyzers warn about this (POSIX says that either NULL or a pointer
will be returned).

We'll instead just return NULL right away.
2014-08-22 02:47:04 +00:00
..
2014-03-07 18:36:26 -05:00
2014-03-07 18:36:26 -05:00
2014-03-07 18:36:26 -05:00
2014-03-07 18:36:26 -05:00
2014-03-07 18:36:26 -05:00
2014-03-07 18:36:26 -05:00
2014-08-08 15:24:42 +00:00
2014-05-01 08:32:23 -04:00
2014-03-07 18:36:26 -05:00
2014-08-16 18:22:41 -05:00
2014-03-07 18:36:26 -05:00
2014-03-06 00:02:40 +05:00
2010-04-02 01:15:18 -04:00