mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-12 20:28:20 +00:00
Fix String(Hex()) usage
- additional add test casye to log.run Fixes #2265
This commit is contained in:
committed by
Norman Feske
parent
818795ab90
commit
dd5592cc50
@ -592,7 +592,7 @@ class Genode::String
|
||||
|
||||
void out_string(char const *str, size_t n) override
|
||||
{
|
||||
while (n-- > 0 && _capacity_left())
|
||||
while (n-- > 0 && _capacity_left() && *str)
|
||||
_append(*str++);
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user