BIOS: NameServerRemote must copy names with 1 char less than max
authorArnie Reynoso <arnier@ti.com>
Thu, 13 Mar 2014 21:08:00 +0000 (14:08 -0700)
committerChris Ring <cring@ti.com>
Mon, 17 Mar 2014 19:38:49 +0000 (12:38 -0700)
commitfb906e405a39754a3b39a84eed81c0084cbbed65
tree70ade0f962b0fd60123e1870de3b342e132ddbe9
parent00b31fda34e2200f6f0a05caddac103385ffac91
BIOS: NameServerRemote must copy names with 1 char less than max

The strncpy length must be max number of characters - 1 bytes. The last
character will be the null termination thus shouldn't be copied. This
fix addresses a Coverity buffer overrun error.
packages/ti/ipc/namesrv/NameServerRemoteRpmsg.c