Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Apr 1998 14:03:22 +0300 (EEST)
From:      Timo J Rinne <tri@iki.fi>
To:        Max Euston <meuston@jmrodgers.com>, freebsd-bugs@FreeBSD.ORG
Subject:   RE: bin/6254: ftp client follows NULL pointer
Message-ID:  <199804101103.OAA13469@pooh.tky.hut.fi>
In-Reply-To: <27090186@toto.iv>
References:  <01BD63C9.148B6D20.meuston@jmrodgers.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Timo J Rinne writes:
> Ok.  I do it.  Return value of fgets in line 260 of util.c in ftp
> client source is not checked. 
> 
> Now it should be straightforward!

The simplest way to fix this seems to be adding line

    tmp[0] = '\0';

just before ftets on line 260.

Regards,
//Rinne

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804101103.OAA13469>