Re: < ftp-problem with windows-nt ftpserver >

From: Richard Huveneers <richard@dont-contact.us>
Date: 5 Aug 1996 20:58:29 GMT

In article <Pine.SUN.3.93.960801143751.9047F-100000@bolivar>, moy@parc.xerox.COM (Edward Moy) writes:
> /* try it as a DOS listing */
> if (n_tokens > 3 && p->name == NULL &&
>! sscanf(tokens[0], "%[0-9]-%[0-9]-%[0-9]", sbuf, sbuf, sbuf)
>! == 3 && /* 04-05-70 */
>! sscanf(tokens[1], "%[0-9]:%[0-9]%[AaPp]%[Mm]", sbuf, sbuf, sbuf, sbuf)
>! == 4) { /* 09:33PM */

Ok, I admit, I haven't looked at the source code for one second, so I could
be totally wrong, but this smells like a possible buffer overrun problem.

Since the data put into sbuf is supplied by the FTP server, I'm not feeling
very comfortable.

Richard.
Received on Tue Aug 06 1996 - 12:13:04 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:32:46 MST