gzip bug w/ patch..

From: greg (gregnat_private)
Date: Sun Dec 30 2001 - 06:26:10 PST

  • Next message: KF: "DayDream BBS buffer overflows"

    Earlier, Goobles had pointed out a bug in Gzip pertaining to this code in
    (gzip.c):
    
     if (len + NLENGTH(dp) + 1 < MAX_PATH_LEN - 1) {
                strcpy(nbuf,dir);
                if (len != 0 /* dir = "" means current dir on Amiga */
    #ifdef PATH_SEP2
    
    
    while looking through I have found that the real problem lied here in
    (gzip.c):
    
    line 1009:
    
        strcpy(ifname, iname);
    
    
    well anyway, there is an attached patch, bye.
    
    
    
    
    
    
    



    This archive was generated by hypermail 2b30 : Sun Dec 30 2001 - 17:46:02 PST