Closed seporaitis closed 5 years ago
Accidentally missed the sizeof(char) in memset call. This is potentially harmless, but still - inconsistent.
sizeof(char)
memset
Maybe in some universe where char is not a single byte (AFAIK none such exists) - it could lead in not clearing up of the whole buffer.
char
Ran src/lhl and interacted with UI.
src/lhl
Description
Accidentally missed the
sizeof(char)
inmemset
call. This is potentially harmless, but still - inconsistent.Motivation and Context
Maybe in some universe where
char
is not a single byte (AFAIK none such exists) - it could lead in not clearing up of the whole buffer.How Has This Been Tested?
Ran
src/lhl
and interacted with UI.Screenshots (if appropriate):
Types of changes
Checklist