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

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

 



-----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@xxxxxxxxxx>
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-----

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux