[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH 2/5] Advance line pointer & don't strdup(val) on error in readNetInfo



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/07/2010 04:49 PM, David Cantrell wrote:
> Fix two issues in the readNetInfo() change.  First, if the line lacks an
> equal sign, increment the line pointer to the next line before
> continuing.  Second, if g_shell_unquote() errors, we do not want to
> strdup(val) on the basis of the field, just ignore the line entirely,
> log it, and continue.
> 
> Related: rhbz#522064

Ack.

- -- 
Brian C. Lane <bcl redhat com>
Red Hat / Port Orchard, WA
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEVAwUBS+SsuxF+jBaO/jp/AQLHxQf/Z+7bMqT2X8nFzlhOtjcX2Hu1v+Dpc4Ef
Ad+nXPQ6w2B4H2msxDlw0KQI6EByVv1ukQIbxNF81rG07PuDiP8w+VfoGgLkuDfW
JGJ5ig2lMilSZJSQT2aARynHJBjxIk8BxJ3x5ZFupl2OOf8A2jd2/BUF98lLmFul
tduVRjgXz1o7kvdROGLxTVR8dW/ohoAlOON5dl8daopgNhYrw7v54/nggqG5aE6t
mZ8DhrxRhz4l/BF+uWclx1nAOPUKD9iD2sbiupKdbfdTLolLZ7J7oQerVsW9fQKx
UNmcpeQCFRtvgX4M5YF6pbqM4ItiiMD5WyEhMRty4HOl0JwFI7bZmQ==
=TOJW
-----END PGP SIGNATURE-----


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]