]> Cypherpunks repositories - gostls13.git/commit
avoid strncat in formatters.
authorRuss Cox <rsc@golang.org>
Mon, 20 Jul 2009 21:16:25 +0000 (14:16 -0700)
committerRuss Cox <rsc@golang.org>
Mon, 20 Jul 2009 21:16:25 +0000 (14:16 -0700)
commit6e1ad041f7556bc9f062d9cc59bf276bee90f581
treef44a6c981b0ebfc0c75d2d2051861a1e1ef23fa8
parent940e381b754054cb33412e989388a1e95d47f52a
avoid strncat in formatters.

the n argument to strncat is the maximum
number of bytes to read from the src,
not the total size of the destination.

R=ken
OCL=31871
CL=31875
src/cmd/gc/subr.c