Coverity: CID 400012 Overrun dynamic
authorNelson Ferreira <nelson.ferreira@ieee.org>
Mon, 5 Mar 2012 22:45:25 +0000 (17:45 -0500)
committerNelson Ferreira <nelson.ferreira@ieee.org>
Mon, 5 Mar 2012 22:45:25 +0000 (17:45 -0500)
commit2433e7889a1123560e1a086140a319b0a9fd0425
tree47ddaf4fe96bf2bee19dbfdf63ea5a4c9cd7c9ae
parent7543dbf60f4b03c4af67015d7f89bae53a94180d
Coverity: CID 400012 Overrun dynamic

* lib-src/gnuclient.c (clean_string): Avoid coverity aliasing
shortcomings by reusing the same variable where the length is
calculate for the copy pass.

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
lib-src/gnuclient.c