commit | 1973685c095e3e15760d3ba4ad9e77997c46594a | [log] [tgz] |
---|---|---|
author | Keun Soo Yim <yim@google.com> | Wed Apr 13 17:11:20 2016 -0700 |
committer | Keun Soo Yim <yim@google.com> | Thu Apr 14 01:40:31 2016 +0000 |
tree | 3f89fa6e964ed99e9f1cd72379d6af5ed82bb563 | |
parent | f3769c17615bc9c227cff83cad0e55bb9f878197 [diff] |
avoid a potential buffer overflow strncat can copy upto n bytes if its 3rd argument is n, while the 1st argument which is the destination has only n bytes in this case. Change-Id: I3469abdcf55e64c5878a855700b323335c40c8be