← Commit list

6b343ddbc

Denis Vlasenko
Denis Vlasenko
2007-03-18
FAILED Duration: 14s

Subject

fix inadvertently leaked PWD_BUFFER_SIZE

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/lineedit.c+1 -1
@@ -343,7 +343,7 @@ static void username_tab_completion(char *ud, char *with_shash_flg)
} else {
/* "~[^/]*" */
/* Using _r function to avoid pulling in static buffers */
- char line_buff[PWD_BUFFER_SIZE];
+ char line_buff[256];
struct passwd pwd;
struct passwd *result;