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


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

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