Lines Matching refs:bug
502 unsigned int bug, i, j;
506 * There was a sign extension bug in older revisions of this function. While
507 * we would have liked to simply fix the bug and move on, we have to provide
508 * a backwards compatibility feature (essentially the bug) for some systems and
513 * While the bug itself affected the majority of passwords containing
526 * length remains. It is not part of the bug aftermath, though, and is
530 * For actual implementation, we set an array index in the variable "bug"
531 * (0 means no bug, 1 means sign extension bug emulation) and a flag in the
535 * Prefix "$2a$": bug = 0, safety = 0x10000
536 * Prefix "$2b$": bug = 0, safety = 0
537 * Prefix "$2x$": bug = 1, safety = 0
538 * Prefix "$2y$": bug = 0, safety = 0
540 bug = flags & 1;
551 tmp[1] |= (signed char)*ptr; /* bug */
567 expanded[i] = tmp[bug];
568 initial[i] = BF_init_state.s.P[i] ^ tmp[bug];
719 /* This has to be bug-compatible with the original implementation, so
732 * when there's something like gcc bug 26587 again, whereas an application or