diff options
author | David Lambert <[email protected]> | 2011-03-07 12:00:46 +0200 |
---|---|---|
committer | David Woodhouse <[email protected]> | 2011-03-11 14:22:49 +0000 |
commit | e70727e442eb61581f836a9a0ca0c3b70d8a3ff2 (patch) | |
tree | 52691fbc86e772642978cc09a32eaaf807ef1016 /lib/memory-notifier-error-inject.c | |
parent | 5d9d9936209e589569a97985285b3282310cf2db (diff) |
mtd: speedtest: fix integer overflow
32-bit integers used in 'calc_speed()' may overflow and lead to
incorrect results. Use 64-bit integers instead.
Signed-off-by: David Lambert <[email protected]>
Signed-off-by: Artem Bityutskiy <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions