projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
diskutil: ensure we have enough room to not write past end
[fio.git]
/
diskutil.c
diff --git
a/diskutil.c
b/diskutil.c
index dca37483fa96a2401c0e49cffc4909659e79ccf0..9767ea255c882a66511954472a2a9f70f56c5d41 100644
(file)
--- a/
diskutil.c
+++ b/
diskutil.c
@@
-363,7
+363,7
@@
static int find_block_dir(int majdev, int mindev, char *path, int link_ok)
return 0;
while ((dir = readdir(D)) != NULL) {
- char full_path[25
6
];
+ char full_path[25
7
];
if (!strcmp(dir->d_name, ".") || !strcmp(dir->d_name, ".."))
continue;