[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: read in movemail.c

From: Richard Stallman
Subject: Re: read in movemail.c
Date: Sat, 06 May 2006 10:25:15 -0400

    nread might be -1 on error from read, so then the call to write would be 
    bad, as the third argument is a size_t (unsigned) so -1 becomes a large 
    value.  Better is to check for -1 and 0 (end of file) before doing the 

Could you install a fix and ack?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]