projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
92ac72c
)
Fix off-by-one in fgets() size
author
Jens Axboe
<axboe@kernel.dk>
Sat, 15 Oct 2011 12:37:26 +0000
(14:37 +0200)
committer
Jens Axboe
<axboe@kernel.dk>
Sat, 15 Oct 2011 12:37:26 +0000
(14:37 +0200)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
init.c
patch
|
blob
|
blame
|
history
diff --git
a/init.c
b/init.c
index 0ccb18573389906a9b8900b00f9053924ea4baf8..72ec85dc740ef08f500662d25c7b7081f2d316f6 100644
(file)
--- a/
init.c
+++ b/
init.c
@@
-964,7
+964,7
@@
int parse_jobs_ini(char *file, int is_buf, int stonewall_flag)
if (is_buf)
p = strsep(&file, "\n");
else
- p = fgets(string, 409
5
, f);
+ p = fgets(string, 409
6
, f);
if (!p)
break;
}