mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-03 01:30:41 +00:00
8c3f832f09
When reading the values of environment variables supplied via Genode config mechanism, the XML attribute values were taken as is. On the libc side, however, the values are processed using Genode's 'Arg_string' functions. When unquoted, 'Arg_string' expects values to be either identifiers or numbers. In the general case, however, env values cannot be expected to satisfy these requirements. Hence, it is better to always quote these values when reading the XML config. An alternative (maybe better) solution would be to not use the 'Arg_string' classes in the libc side.