← Commit list

a9c9bf505

Denys Vlasenko
Denys Vlasenko
2009-08-30
FAILED Duration: 36s

Subject

uniq: plug memory leak (patch from OpenWRT project)

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 →

coreutils/uniq.c+1 -0
@@ -89,6 +89,7 @@ int uniq_main(int argc UNUSED_PARAM, char **argv)
break;
}
+ free(cur_line);
++dups; /* testing for overflow seems excessive */
}