Wrongly encoded UTF-8 strings can lead to memory trash
Created by: stephanemagnenat
The function UTF8ToWString
in https://github.com/aseba-community/aseba/blob/bc18326a700499df190281cf274f8fed7407250a/common/utils/utils.cpp#L227 does not do boundary checks when doing lookahead access of unicode parts. This could lead to a memory trash and is a potential security flaw.