#4 Typo(?) in format specifier

v1.0_(example)
wont-fix
nobody
PDF-parser (6)
5
2014-02-10
2010-07-18
No

In this format specifier in pdfcrack.c:
static const char string_FILTER[] = "\nFilter(%zu): ";
The z has to be removed. It doesn't seem to do anything on RTLs that accept it, and on those that don't, it results in the following bug:
Since they don't accept it, they write the line "Filter(zu): ", which fails to be read correctly, causing save states not to work.

Discussion

  • Shinobu Maehara

    Shinobu Maehara - 2010-07-18

    Another one is in passwords.c:
    fprintf(file, "Wordlist(%zu): %s", strlen(wordListName), wordListName);

     
  • Henning Noren

    Henning Noren - 2014-02-10
    • status: open --> wont-fix
    • Group: --> v1.0_(example)
     
  • Henning Noren

    Henning Noren - 2014-02-10

    z is the official C99 format specifier for size_t so I will not change that.
    pdfcrack currently relies on a C99 compatible compiler.

     

Log in to post a comment.