Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compilation warnings - String Manipulation
Changed the size of path variable using system constant Implemented data size check during message creation to avoid buffer overflow and problems when displaying messages. Now negative numbers are presented as 0(zero) and to big numbers are presented as maximum value(ex.9999). This will avoid problems in case of invalid or unexpected data. This was tested compiling in 32 and 64 bits.
- Loading branch information
1 parent
e0a96a3
commit e889c66
Showing
2 changed files
with
32 additions
and
4 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