commit | 0eee3009e7015b82a46b2eccad91f759d75ec4df | [log] [tgz] |
---|---|---|
author | Jan Engelhardt <jengelh@medozas.de> | Wed Nov 26 17:18:08 2008 +0100 |
committer | Patrick McHardy <kaber@trash.net> | Wed Nov 26 17:18:08 2008 +0100 |
tree | 7aa58d6aa5aa62b10baec1a4d2f8b1507773b289 | |
parent | 64f948b24407c3cf3d02476059a3f9fa0265cb3d [diff] |
libiptc: guard chain index allocation for different malloc implementations Some libc implementations such as µClibc return NULL on malloc(0). They are free to do that per C standard. Signed-off-by: Jan Engelhardt <jengelh@medozas.de> Signeed-off-by: Patrick McHardy <kaber@trash.net>