Commit adb28c4
tree: use strtou32 to read lba_size
The lba_size variable is of type int, thus we should use nvme_strtou32
and avoid overwriting memory.
Signed-off-by: Daniel Wagner <[email protected]>1 parent 2ba04fe commit adb28c4
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2455 | 2455 | | |
2456 | 2456 | | |
2457 | 2457 | | |
2458 | | - | |
| 2458 | + | |
2459 | 2459 | | |
2460 | 2460 | | |
2461 | 2461 | | |
| |||
0 commit comments