genodelabs/genode — Issue #67: Sanity checks for Arg_string::add_arg
Author: nfeske
Created: 2012-01-08 21:17:12+00:00
State: open
Labels: cleanup

Currently, the 'Arg_string' classes expect tagnames and values to be well formatted, being either correct identifiers as detected by the tokenizer or properly quoted strings. We should check those arguments for their adherence to those rules. For values, we could automatically add quoting if a malformed string is supplied. Tag name arguments are less critical because they are normally not supplied by program input. However, we should still check them and respond to unexpected formatting.

This issue had been identified during the discussion of issue #66.