Symbols::ioSymbol2Value() and Symbols::ioValue2Symbol() do not properly handle out-of-range (invalid) values. In particular, the call to .toLatin1() on a QChar of ioSymbol2Value() may well be called on untrusted input and may therefore produce unexpected results.
Description
Description
Comment Actions
If checked closely, the values are essentially handled well, because the values which will get converted to symbols are limited and therefore the values to be converted back would be limited as well. Hence, it will not produce unexpected results.