CVSROOT:        /sources/grub
Module name:    grub2
Changes by:     Bean <bean>     08/02/06 19:57:40

Modified files:
        .              : ChangeLog 
        fs             : cpio.c 

Log message:
        2008-02-06  Christian Franke  <[EMAIL PROTECTED]>
        
                * fs/cpio.c (grub_cpio_find_file): Return GRUB_ERR_NONE
                (and set *ofs = 0) instead of GRUB_ERR_FILE_NOT_FOUND on
                last block of a cpio or tar stream.
                Check for "TRAILER!!!" instead of any empty data
                block to detect last block of a cpio stream.
                (grub_cpio_dir): Fix constness of variable np.
                (grub_cpio_open): Return GRUB_ERR_FILE_NOT_FOUND if
                cpio or tar trailer is detected.  This fixes a crash
                on open of a non existing file.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/grub2/ChangeLog?cvsroot=grub&r1=1.565&r2=1.566
http://cvs.savannah.gnu.org/viewcvs/grub2/fs/cpio.c?cvsroot=grub&r1=1.2&r2=1.3


_______________________________________________
Commit-grub mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-grub

Reply via email to