do not call fmemopen(3) with a zero size argument