From: Rusty Russell Date: Mon, 29 Jun 2009 02:17:20 +0000 (+0930) Subject: Fix theoretical problem with 0-length records. X-Git-Url: https://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=195b605e88209772a4b2bc2e0ef32e610e62feb7;hp=195b605e88209772a4b2bc2e0ef32e610e62feb7 Fix theoretical problem with 0-length records. By faking them out to length 1, we might go oob. Just fake the malloc. ---