Properly allocate memory when size is 0, but so is buf
Properly allocate memory when size is 0, but so is buf

groundwater/uClibc,gittup/uClibc,kraj/uClibc,skristiansson/uClibc-or1k,kraj/uclibc-ng,czankel/xtensa-uclibc,waweber/uclibc-clang,ndmsystems/uClibc,atgreen/uClibc-moxie,OpenInkpot-archive/iplinux-uclibc,waweber/uclibc-clang,groundwater/uClibc,mephi42/uClibc,majek/uclibc-vx32,foss-for-synopsys-dwc-arc-processors/uClibc,foss-for-synopsys-dwc-arc-processors/uClibc,foss-xtensa/uClibc,majek/uclibc-vx32,foss-for-synopsys-dwc-arc-processors/uClibc,wbx-github/uclibc-ng,czankel/xtensa-uclibc,ChickenRunjyd/klee-uclibc,skristiansson/uClibc-or1k,kraj/uClibc,atgreen/uClibc-moxie,ysat0/uClibc,m-labs/uclibc-lm32,waweber/uclibc-clang,mephi42/uClibc,klee/klee-uclibc,m-labs/uclibc-lm32,OpenInkpot-archive/iplinux-uclibc,ddcc/klee-uclibc-0.9.33.2,groundwater/uClibc,klee/klee-uclibc,ChickenRunjyd/klee-uclibc,ndmsystems/uClibc,foss-xtensa/uClibc,ddcc/klee-uclibc-0.9.33.2,gittup/uClibc,m-labs/uclibc-lm32,kraj/uClibc,brgl/uclibc-ng,ffainelli/uClibc,ffainelli/uClibc,ndmsystems/uClibc,kraj/uclibc-ng,czankel/xtensa-uclibc,wbx-github/uclibc-ng,ffainelli/uClibc,majek/uclibc-vx32,wbx-github/uclibc-ng,czankel/xtensa-uclibc,foss-xtensa/uClibc,brgl/uclibc-ng,gittup/uClibc,ndmsystems/uClibc,groundwater/uClibc,kraj/uClibc,ysat0/uClibc,ysat0/uClibc,klee/klee-uclibc,ysat0/uClibc,ffainelli/uClibc,hjl-tools/uClibc,atgreen/uClibc-moxie,OpenInkpot-archive/iplinux-uclibc,brgl/uclibc-ng,foss-xtensa/uClibc,hjl-tools/uClibc,m-labs/uclibc-lm32,OpenInkpot-archive/iplinux-uclibc,skristiansson/uClibc-or1k,hwoarang/uClibc,foss-for-synopsys-dwc-arc-processors/uClibc,ChickenRunjyd/klee-uclibc,hjl-tools/uClibc,majek/uclibc-vx32,atgreen/uClibc-moxie,hjl-tools/uClibc,mephi42/uClibc,ChickenRunjyd/klee-uclibc,hwoarang/uClibc,wbx-github/uclibc-ng,gittup/uClibc,klee/klee-uclibc,hwoarang/uClibc,brgl/uclibc-ng,skristiansson/uClibc-or1k,ddcc/klee-uclibc-0.9.33.2,kraj/uclibc-ng,mephi42/uClibc,waweber/uclibc-clang,hjl-tools/uClibc,hwoarang/uClibc,ddcc/klee-uclibc-0.9.33.2,kraj/uclibc-ng,groundwater/uClibc,ffainelli/uClibc