Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dp.h: check _ucs2size in format_ucs2()
When memcpy() is called in format_ucs2(), the value of ucs2size - sizeof(uint16_t) is not checked. It may result in out-of-bounds writing due to integer underflow. Signed-off-by: century6 <[email protected]>
- Loading branch information