-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add explicit snprintf overflow checks
With the new-fangled overflow checking in GCC 7.2, even the remote possibility of a string overflow is reported as a warning, which then gets elevated to an error due to -Werror. This patch adds explicit checks to detect such overflows. Signed-off-by: Cyril Chemparathy <cyril.chemparathy@xilinx.com>
- Loading branch information
Showing
1 changed file
with
23 additions
and
10 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