buffer overflow, bad string handling in network lib?

2014-05-22 Thread B Harder
$ ftp ftp.freebsd.org login anonymous ftp ls screen fills w/ 'h' characters, repeating, presumably forever. I've also noticed this working/playing w/ another network library, but I assumed it was in my alpha code, or it's dependencies... I'll see if I can find more details, but thought I'd

Re: buffer overflow, bad string handling in network lib?

2014-05-22 Thread Martin Husemann
On Thu, May 22, 2014 at 11:47:38AM -0700, B Harder wrote: $ ftp ftp.freebsd.org login anonymous ftp ls screen fills w/ 'h' characters, repeating, presumably forever. FWIW: I can not reproduce it, but you might get connected to another server, I got to: Trying 2001:6c8:130:800::4:21 ...

Re: buffer overflow, bad string handling in network lib?

2014-05-22 Thread B Harder
Select ktrace output: [...] 2486 1 ftp GIO fd 1 wrote 5 bytes ftp 2486 1 ftp RET write 5 2486 1 ftp CALL ioctl(0,TIOCGETA,0x7f7ff7b1ca98) 2486 1 ftp GIO fd 0 read 44 bytes

Re: buffer overflow, bad string handling in network lib?

2014-05-22 Thread B Harder
Nevermind -- it looks like a stray entry in my .editrc. If it turns out it is a real issue, I'll repost. Apologies for the noise. -bch On 5/22/14, B Harder brad.har...@gmail.com wrote: Select ktrace output: [...] 2486 1 ftp GIO fd 1 wrote 5 bytes ftp 2486