Description
A specially crafted emoticon value could cause an integer overflow which could lead to a buffer overflow.
Mitigation
Use an unsigned integer and enforce a maximum size.
A specially crafted emoticon value could cause an integer overflow which could lead to a buffer overflow.
Use an unsigned integer and enforce a maximum size.