Add more error checks to packet_parse().
Add more error checks to packet_parse().


git-svn-id: b1dee0d48e635e16c3b356ce77271b225d4db9f7@461 7dcaeef0-15fb-0310-b436-a5af3365683c

sebadoom/libssh,jt1/honeypot-libssh,pouete/libssh,mwgoldsmith/libssh,taikoo/libssh,pouete/libssh,jt1/honeypot-libssh,sebadoom/libssh,pouete/libssh,bigcat26/libssh-mod,taikoo/libssh,robxu9/libssh,jahrome/libssh,DouglasHeriot/libssh,pouete/libssh,miloj/libssh-v0.5,jahrome/libssh,nviennot/libssh,DouglasHeriot/libssh,rofl0r/libssh,kedazo/libssh,robxu9/libssh,jt1/honeypot-libssh,bigcat26/libssh-mod,substack/libssh,miloj/libssh-v0.5,miloj/libssh-v0.5,mwgoldsmith/ssh,kedazo/libssh,elastichosts/libssh,sebadoom/libssh,robxu9/libssh,kedazo/libssh,sebadoom/libssh,mwgoldsmith/ssh,substack/libssh,DouglasHeriot/libssh,taikoo/libssh,mwgoldsmith/libssh,wangshawn/libssh,nviennot/libssh,bigcat26/libssh-mod,mwgoldsmith/ssh,jahrome/libssh,wangshawn/libssh,mwgoldsmith/libssh,rofl0r/libssh,kedazo/libssh,elastichosts/libssh,miloj/libssh-v0.5,Distrotech/libssh,bigcat26/libssh-mod,DouglasHeriot/libssh,mwgoldsmith/ssh,wangshawn/libssh,Distrotech/libssh,rofl0r/libssh,substack/libssh,wangshawn/libssh,nviennot/libssh,elastichosts/libssh,mwgoldsmith/libssh,rofl0r/libssh,jt1/honeypot-libssh,Distrotech/libssh,jahrome/libssh,robxu9/libssh,nviennot/libssh,substack/libssh,taikoo/libssh,Distrotech/libssh