-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MINOR/BUG: fixed calculation of data size in the otc_text_map structure
When increasing the number of data pairs in the otc_text_map structure, this value was miscalculated for unallocated data (ie those for which the number of pairs was 0). The newly allocated memory was cleared, but this was done at the wrong offset. Also, there was an error in the macro OT_TEXT_MAP_SIZE() where sizeof was taken from the wrong data type.
- Loading branch information
Showing
2 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters