|
From: | Fabrice Bellard |
Subject: | Re: [Qemu-devel] [PATCH] security_20040618 |
Date: | Sat, 19 Jun 2004 19:11:02 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 |
Tim wrote:
Were you able to look at my proposed changes to pstrcpy()? What do you think of them?
An advice: _never_ use strncpy, it never does what you think it does ![Your patch is not correct as it adds a lot of zeros at the end of the buffer, which is not the intended behaviour of pstrcpy].
Fabrice.
[Prev in Thread] | Current Thread | [Next in Thread] |