[Patch] Fix strlist to string conversion
Sjoerd Simons
sjoerd at luon.net
Sun Dec 2 13:26:53 PST 2007
Hi,
Attached patch converts the strlist to string code to use of a GString
instead of a static buf and strncpy. The strncpy code has the well known
issue of not '\0' terminating strings on overflow.
See the patch for more info. Ok to commit ?
Sjoerd
--
One learns to itch where one can scratch.
-- Ernest Bramah
-------------- next part --------------
A non-text attachment was scrubbed...
Name: strlist_to_string.patch
Type: text/x-diff
Size: 1653 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20071202/88eb8ade/attachment.patch
More information about the hal
mailing list