View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004890 | GNUnet | ARM service | public | 2017-02-11 17:59 | 2018-06-07 00:24 |
Reporter | Florian Dold | Assigned To | Christian Grothoff | ||
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | Git master | ||||
Target Version | 0.11.0pre66 | Fixed in Version | 0.11.0pre66 | ||
Summary | 0004890: misuse of dynamically generated format strings in gnunet-arm.c results in "%s" showing up in error messages | ||||
Description | The way that format strings are used is pretty messy: GNUNET_asprintf (&msg, "%s", _("Failed to start the ARM service: %s\n")); FPRINTF (stdout, msg, ret_string (result)); Actually ret_string here returns ANOTHER format specifier (%s) that is not properly subsituted. Having dynamically generated (!!) format strings is a pretty big red flag, and we have two instances of dynamically generated format strings in two lines of code here ... | ||||
Additional Information | Outputs messages like this: Failed to start the `taler-donations' service: %s service failed to start | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2017-02-11 17:59 | Florian Dold | New Issue | |
2017-02-11 17:59 | Florian Dold | Status | new => assigned |
2017-02-11 17:59 | Florian Dold | Assigned To | => Christian Grothoff |
2017-02-15 15:36 | Christian Grothoff | Note Added: 0011761 | |
2017-02-15 15:36 | Christian Grothoff | Status | assigned => resolved |
2017-02-15 15:36 | Christian Grothoff | Resolution | open => fixed |
2017-02-15 15:36 | Christian Grothoff | Fixed in Version | => 0.11.0pre66 |
2017-02-15 15:36 | Christian Grothoff | Product Version | => Git master |
2017-02-15 15:36 | Christian Grothoff | Target Version | => 0.11.0pre66 |
2018-06-07 00:24 | Christian Grothoff | Status | resolved => closed |