-
Notifications
You must be signed in to change notification settings - Fork 390
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix collector crash due to non ASCII character
Message keyword processing parser can crash if it receives non ASCII character in certain scenarios. Sanitize the string before passing it to the message keyword processing parser. Note that the message write to cassandra will still fail due to non UTF8 encoded string. Add test case to validate that contrail-collector does not crash on receiving such a message. Change-Id: Ic3c9ee1e9e3c26fce21014c0f86a22061cca78b0 Closes-Bug: #1645885
- Loading branch information
Megh Bhatt
committed
Dec 6, 2016
1 parent
427ed2f
commit b4fd9e1
Showing
3 changed files
with
34 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
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