We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72abd2a commit 383aec2Copy full SHA for 383aec2
1 file changed
src/libstore/local-store-active-builds.cc
@@ -140,10 +140,6 @@ static ActiveBuildInfo::ProcessInfo getProcessInfo(pid_t pid)
140
pos++;
141
pos++; // Skip the null terminator
142
143
- // Skip any additional null bytes.
144
- while (pos < size && buffer[pos] == '\0')
145
- pos++;
146
-
147
// Parse the arguments.
148
while (pos < size && info.argv.size() < (size_t) argc) {
149
size_t argStart = pos;
0 commit comments