Added API's directly write/read binary to and from File.
earlier we are calculating size of the buffer approximately and passing
that buffer to Write/Read binary api's some times if there any miss
calculation. buffer over writes happening.
closes-bug: #1663132
Reviewed: https:/ /review. opencontrail. org/28884 github. org/Juniper/ contrail- sandesh/ commit/ be1383dd3c69548 720140f88c35fe1 a6e7cc0f65
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: master
commit be1383dd3c69548 720140f88c35fe1 a6e7cc0f65
Author: jayaramsatya <email address hidden>
Date: Fri Feb 17 14:35:21 2017 +0530
Added API's directly write/read binary to and from File.
earlier we are calculating size of the buffer approximately and passing
that buffer to Write/Read binary api's some times if there any miss
calculation. buffer over writes happening.
closes-bug: #1663132
Change-Id: I984bff623831ee de9965c6ee600f1 3d88742799c