Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix possible improper NULL string termination
Make sure that the language string is always terminated by a NULL character. strncpy will copy at most 4 characters, but no NULL character is implicitly appended so language will only be NULL terminated if the string has fewer than 4 characers.
- Loading branch information