Lines Matching refs:bug
547 unsigned int bug, i, j;
551 * There was a sign extension bug in older revisions of this function. While
552 * we would have liked to simply fix the bug and move on, we have to provide
553 * a backwards compatibility feature (essentially the bug) for some systems and
558 * While the bug itself affected the majority of passwords containing
571 * length remains. It is not part of the bug aftermath, though, and is
575 * For actual implementation, we set an array index in the variable "bug"
576 * (0 means no bug, 1 means sign extension bug emulation) and a flag in the
580 * Prefix "$2a$": bug = 0, safety = 0x10000
581 * Prefix "$2x$": bug = 1, safety = 0
582 * Prefix "$2y$": bug = 0, safety = 0
584 bug = (unsigned int)flags & 1;
595 tmp[1] |= (BF_word_signed)(signed char)*ptr; /* bug */
611 expanded[i] = tmp[bug];
612 initial[i] = BF_init_state.P[i] ^ tmp[bug];
770 /* This has to be bug-compatible with the original implementation, so
798 * when there's something like gcc bug 26587 again, whereas an application or