author | Arnie Reynoso <arnier@ti.com> | |
Thu, 13 Mar 2014 21:08:00 +0000 (14:08 -0700) | ||
committer | Chris Ring <cring@ti.com> | |
Mon, 17 Mar 2014 19:38:49 +0000 (12:38 -0700) | ||
commit | fb906e405a39754a3b39a84eed81c0084cbbed65 | |
tree | 70ade0f962b0fd60123e1870de3b342e132ddbe9 | tree | snapshot (tar.xz tar.gz zip) |
parent | 00b31fda34e2200f6f0a05caddac103385ffac91 | commit | diff |
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.
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 | diff | blob | history |