← Commit list

4ace38580

Denys Vlasenko
Denys Vlasenko
2020-02-16
SUCCESS Duration: 151s

Subject

ash: expand: Fix skipping of command substitution when trimming in evalvar

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 →

shell/ash.c+2 -0
@@ -7506,6 +7506,8 @@ evalvar(char *p, int flag)
goto record;
}
+ varlen = 0;
+
end:
if (subtype != VSNORMAL) { /* skip to end of alternative */
int nesting = 1;