[BusyBox 0004764]: cksum can not handle files larger than 4 gigabyte

bugs at busybox.net bugs at busybox.net
Wed Aug 27 20:49:56 UTC 2008


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=4764 
====================================================================== 
Reported By:                timschuerewegen
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   4764
Category:                   Other
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             08-27-2008 11:24 PDT
Last Modified:              08-27-2008 13:49 PDT
====================================================================== 
Summary:                    cksum can not handle files larger than 4 gigabyte
Description: 
cksum can not handle files larger than 4 gigabyte

4.699.979.776 bytes -> cksum returns incorrect checksum
8.511.160.320 bytes -> cksum does not return (100% cpu)
====================================================================== 

---------------------------------------------------------------------- 
 vda - 08-27-08 13:49  
---------------------------------------------------------------------- 
I failed to reproduce infinite looping.
Please attach your .config

Wrong cksum for files > 4 Gb is fixed by attached patch, please confirm.
It works for me. Comparison with coreituls:

# dd if=/dev/zero bs=1M count=9999 | ./busybox cksum
9999+0 records in
9999+0 records out
992689976 10484711424
# dd if=/dev/zero bs=1M count=9999 | /usr/bin/cksum
9999+0 records in
9999+0 records out
992689976 10484711424 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-27-08 11:24  timschuerewegenNew Issue                                    
08-27-08 11:24  timschuerewegenStatus                   new => assigned     
08-27-08 11:24  timschuerewegenAssigned To               => BusyBox         
08-27-08 13:49  vda            Note Added: 0010794                          
======================================================================




More information about the busybox-cvs mailing list