commit | 3593a50c722bc48aa26797411e175fac01a7d00f | [log] [tgz] |
---|---|---|
author | subrata_modak <subrata_modak> | Fri Jul 11 11:27:16 2008 +0000 |
committer | subrata_modak <subrata_modak> | Fri Jul 11 11:27:16 2008 +0000 |
tree | eafd5f8af65ab8c5fb03fccf0d1c0e3c0735d3eb | |
parent | e753fd7967c95651b952dd6fe67d2cb56478056e [diff] |
This patch uses strcpy() instead of strcat(). strcat() should only be used when the 'dest' argument is NULL terminated. In this case, path_buffer is not initialised and so may not contain a NULL character. strcpy() will do the right thing and copy the string to the beginning of path_buffer. Matt Fleming <mjf@gentoo.org>.