Allocate cmd string with alloca instead of malloc, close popen handle if fgets fails.
Allocate cmd string with alloca instead of malloc, close popen handle if fgets fails.

cjwatson/lxc,regit/lxc,Pelagicore/lxc,jirislaby/lxc,akshaykarle/lxc,lazy404/lxc,ecarrara/lxc,Distrotech/lxc,weizhenwei/lxc,caglar10ur/lxc,LynxChaus/lxc,christiaan/lxc,bmoar/lxc,ecarrara/lxc,ysbnim/lxc,terceiro/lxc,fwilson42/lxc,rldleblanc/lxc,caglar10ur/lxc,JohnPeacockMessageSystems/lxc,DarknessBeforeDawn/lxc,hkjolhede/lxc,lazy404/lxc,major/lxc,terceiro/lxc,Ponce/lxc,virajs/lxc,LynxChaus/lxc,codebauss/lxc,hkjolhede/lxc,terceiro/lxc,ecarrara/lxc,ksperis/lxc,hfuCN/lxc,christiaan/lxc,ojkastl/lxc_Patches,akshaykarle/lxc,yubo/lxc,DarknessBeforeDawn/lxc,bostjan/lxc,hfuCN/lxc,Distrotech/lxc,ss1h2a3tw/lxc,virajs/lxc,cjwatson/lxc,GreatFruitOmsk/lxc,thmo/lxc,JohnPeacockMessageSystems/lxc,efiop/lxc,lisongmin/lxc,JohnPeacockMessageSystems/lxc,rldleblanc/lxc,ksperis/lxc,federicobriata/lxc,aeris/lxc,DarknessBeforeDawn/lxc,sapun/lxc,bostjan/lxc,lisongmin/lxc,efiop/lxc,regit/lxc,bmoar/lxc,lazy404/lxc,armcc/lxc,ojkastl/lxc_Patches,major/lxc,yubo/lxc,codebauss/lxc,raspberrypython/lxc,ioops/lxc,rldleblanc/lxc,ojkastl/lxc_Patches,LynxChaus/lxc,fwilson42/lxc,raspberrypython/lxc,weizhenwei/lxc,hkjolhede/lxc,tych0/lxc,thmo/lxc,hallyn/lxc,bostjan/lxc,federicobriata/lxc,weizhenwei/lxc,lisongmin/lxc,ojkastl/lxc_Patches,ss1h2a3tw/lxc,cjwatson/lxc,fwilson42/lxc,Pelagicore/lxc,codebauss/lxc,rowhit/lxc,ysbnim/lxc,GreatFruitOmsk/lxc,armcc/lxc,ysbnim/lxc,GreatFruitOmsk/lxc,QingweiPeterLan/cs188-lxc,raspberrypython/lxc,ksperis/lxc,bmoar/lxc,tych0/lxc,QingweiPeterLan/cs188-lxc,major/lxc,rowhit/lxc,rowhit/lxc,aeris/lxc,Ponce/lxc,hfuCN/lxc,thmo/lxc,jirislaby/lxc,Pelagicore/lxc,QingweiPeterLan/cs188-lxc,regit/lxc,szaszg/lxc,sapun/lxc,aeris/lxc,tych0/lxc,efiop/lxc,ioops/lxc,sapun/lxc,hallyn/lxc,Ponce/lxc,akshaykarle/lxc,glensc/lxc,caglar10ur/lxc,jirislaby/lxc,ss1h2a3tw/lxc,armcc/lxc,szaszg/lxc,Distrotech/lxc,hallyn/lxc,glensc/lxc,szaszg/lxc,glensc/lxc,ioops/lxc,federicobriata/lxc,virajs/lxc,christiaan/lxc,yubo/lxc