Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e85add
)
libblkid: fix integer width issue in probe_fat
author
Theodore Ts'o
<tytso@mit.edu>
Sat, 11 Jan 2014 02:56:29 +0000
(21:56 -0500)
committer
Theodore Ts'o
<tytso@mit.edu>
Sat, 11 Jan 2014 02:56:29 +0000
(21:56 -0500)
Addresses-Coverity-Id: #1049162
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/blkid/probe.c
patch
|
blob
|
history
diff --git
a/lib/blkid/probe.c
b/lib/blkid/probe.c
index
b63a509
..
4b797ab
100644
(file)
--- a/
lib/blkid/probe.c
+++ b/
lib/blkid/probe.c
@@
-585,8
+585,8
@@
static int probe_fat(struct blkid_probe *probe,
__u64 next_off, fat_entry_off;
int count;
- next_sect_off = (
__u64) (
next - 2) * vs->vs_cluster_size;
- next_off = (start_data_sect + next_sect_off) *
+ next_sect_off = (next - 2) * vs->vs_cluster_size;
+ next_off = (
__u64) (
start_data_sect + next_sect_off) *
sector_size;
dir = (struct vfat_dir_entry *)