← Commit list

25fe2d50b

Denys Vlasenko
Denys Vlasenko
2021-06-18
SUCCESS Duration: 154s

Subject

xxd: do not try reading from closed stdin when non-existent file is given

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 →

libbb/dump.c+1 -0
@@ -357,6 +357,7 @@ static NOINLINE int next(priv_dumper_t *dumper)
if (!freopen(fname, "r", stdin)) {
bb_simple_perror_msg(fname);
dumper->exitval = 1;
+ dumper->next__done = 1;
continue;
}
}