forked from Azure/azure-sdk-for-c
-
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.
Add null terminator for char* based json string unescape, and precond…
…ition on input length (Azure#2303) * Add null terminator for char* based json string unescape, and precondition on input length * Add remark comment about precondition and null terimination * Update doc comment typo * Remove the test cases about insufficient space. * Fix clang formatting. * Add null terminator tests. * Test that the null terminator is there at the end. * Fix build errors.
- Loading branch information
1 parent
d84c438
commit 47065d5
Showing
3 changed files
with
25 additions
and
20 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
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