View Issue Details

IDProjectCategoryView StatusLast Update
0005454GNUnetutil librarypublic2019-02-28 10:17
ReporterFlorian Dold Assigned ToChristian Grothoff Due Date
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.11.0Fixed in Version0.11.0 
Summary0005454: argument parsing does not correctly parse/validate uints (and maybe others)
DescriptionI'm using gnunet-statistics here as an example, but it applies to all argument parsing in GNUnet and Taler.

This (as expected) doesn't work:

  $ gnunet-statistics -o FOO
  You must pass a number to the `port' option.

However, when the prefix of the argument is a number, the rest is ignored:

  $ gnunet-statistics -o 1FOO
  <tries to connect>

I ran into this when forgetting a space in a script (for Taler), as

  gnunet-statistics -o 1--another-flag

simply ignores "--another-flag" *without* any errors.
TagsNo tags attached.

Activities

Christian Grothoff

2018-11-04 10:17

manager   ~0013315

Fixed "all over" util/ in 31cc8a750..3a4e51894

Issue History

Date ModifiedUsernameFieldChange
2018-10-03 18:45Florian DoldNew Issue
2018-10-03 18:45Florian DoldStatusnew => assigned
2018-10-03 18:45Florian DoldAssigned To => Christian Grothoff
2018-11-04 10:17Christian GrothoffNote Added: 0013315
2018-11-04 10:17Christian GrothoffStatusassigned => resolved
2018-11-04 10:17Christian GrothoffResolutionopen => fixed
2018-11-04 10:17Christian GrothoffFixed in Version => 0.11.0
2018-11-04 10:17Christian GrothoffProduct Version => Git master
2018-11-04 10:17Christian GrothoffTarget Version => 0.11.0
2019-02-28 10:17Christian GrothoffStatusresolved => closed