← Commit list

fd27fa830

Denys Vlasenko
Denys Vlasenko
2010-08-17
FAILED Duration: 43s

Subject

libbb: fix fallout from last patch to obscure() (my mistake). +143 bytes

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/obscure.c+1 -1
@@ -153,7 +153,7 @@ static const char *obscure_msg(const char *old_p, const char *new_p, const struc
}
size = CONFIG_PASSWORD_MINLEN + 2*CATEGORIES;
- for (i = 0; i <= LAST_CAT; i <<= 1)
+ for (i = 1; i <= LAST_CAT; i <<= 1)
if (mixed & i)
size -= 2;
if (length < size)