commit | b953fc284983ac8eac9174bcfffedd18cb48ac7e | [log] [tgz] |
---|---|---|
author | Kenny Root <kroot@google.com> | Thu Dec 01 11:38:53 2011 -0800 |
committer | Kenny Root <kroot@google.com> | Thu Dec 01 14:54:13 2011 -0800 |
tree | 14853eb9e54beaf9c8a5b93a384f7c4f1d2f2028 | |
parent | 6940ec41d1ed10157b61ba4967b1ab2e79fcb808 [diff] |
Use strlcpy instead of strncpy Also make sure the read cmdline is terminated with a null byte. Change-Id: I6b4aa197ce9bc072a912b7163e8616a03b39c3fe