← Commit list

8124a96c3

Denis Vlasenko
Denis Vlasenko
2008-06-22
FAILED Duration: 26s

Subject

mdoprobe: fix SEGV bug (by Vlad Dronnikov)

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

modutils/modprobe.c+1 -3
@@ -443,10 +443,8 @@ static struct dep_t *build_dep(void)
/* It's a dep description continuation */
p = line_buffer;
- p = skip_whitespace(p);
-
/* p points to the first dependable module; if NULL, no dependable module */
- if (p && *p) {
+ if (p && (p = skip_whitespace(p))[0] != '\0') {
char *end = &line_buffer[l-1];
const char *deps;
char *dep;