[PATCH] close potential buffer overflow in prot_flush (was: Re:
 [PATCH] imapd segfaults after broken pipe)
    Rob Siemborski 
    rjs3 at andrew.cmu.edu
       
    Mon Jan  6 14:47:35 EST 2003
    
    
  
I've committed/credited this as well.
Thanks,
-Rob
On Sun, 5 Jan 2003, Henrique de Moraes Holschuh wrote:
> On Sun, 05 Jan 2003, Henrique de Moraes Holschuh wrote:
> > On Sun, 05 Jan 2003, Gerd v. Egidy wrote:
> > > > The attached patch fixes this.
>
> The attached patch fixes the bug in prot_flush. It also adds an assert that
> protects the code from another potentially letal bug.
>
> Gerd's patch fixes another issue, which is that putc really should not be
> suceeding on write streams that are on error or closed.
>
> --
>   "One disk to rule them all, One disk to find them. One disk to bring
>   them all and in the darkness grind them. In the Land of Redmond
>   where the shadows lie." -- The Silicon Valley Tarot
>   Henrique Holschuh
>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper
    
    
More information about the Info-cyrus
mailing list