Fix possible allocation of 0 len buffer in rtc 47/47/2
authorE. Scott Daniels <daniels@research.att.com>
Tue, 9 Apr 2019 20:25:58 +0000 (20:25 +0000)
committerE. Scott Daniels <daniels@research.att.com>
Tue, 9 Apr 2019 20:28:56 +0000 (20:28 +0000)
commitaa0b497f216ebd8bc72850bf4af5c9f35c288b65
tree64d4acb7cc526aa07273cf730bc5eaf11000d1ff
parent61c5ddab38c494eabe80c19d12299094084b5ffa
Fix possible allocation of 0 len buffer in rtc

It was possible for the route table collector to allocate
a zero length buffer to copy a received message into.

Change-Id: Ie270f7fe9f721661f59713eaf15500762b2b3253
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
CMakeLists.txt
src/common/src/rtc_static.c
src/nng/src/sr_nng_static.c