Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107021173
D44261.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
442 B
Referenced Files
None
Subscribers
None
D44261.diff
View Options
diff --git a/sys/fs/tarfs/tarfs_vfsops.c b/sys/fs/tarfs/tarfs_vfsops.c
--- a/sys/fs/tarfs/tarfs_vfsops.c
+++ b/sys/fs/tarfs/tarfs_vfsops.c
@@ -205,7 +205,7 @@
tarfs_checksum(struct ustar_header *hdrp)
{
const unsigned char *ptr;
- unsigned long checksum, hdrsum;
+ int64_t checksum, hdrsum;
if (tarfs_str2int64(hdrp->checksum, sizeof(hdrp->checksum), &hdrsum) != 0) {
TARFS_DPF(CHECKSUM, "%s: invalid header checksum \"%.*s\"\n",
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 10, 2:21 AM (11 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15738501
Default Alt Text
D44261.diff (442 B)
Attached To
Mode
D44261: tarfs: Fix checksum on 32-bit platforms.
Attached
Detach File
Event Timeline
Log In to Comment