[SSSD] [PATCH] Correct format security for talloc_named of auth tokens

Stephen Gallagher sgallagh at redhat.com
Wed Jan 16 13:00:12 UTC 2013


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

Spotted this while doing a review. When building with
- -Wformat-security, we get a warning:

../src/util/authtok.c: In function 'sss_authtok_set_string':
../src/util/authtok.c:104:5: error: format not a string literal and no
format arguments [-Werror=format-security]

This patch corrects it.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlD2pFwACgkQeiVVYja6o6ONdQCfUXVmagKVL5blE23eCI0BHM9G
XGIAoK9XwzMlaNxZYepac0XmO5SqPYil
=Uyfb
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Correct-format-security-for-talloc_named-of-auth-tok.patch
Type: text/x-patch
Size: 805 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20130116/fd004b2c/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Correct-format-security-for-talloc_named-of-auth-tok.patch.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20130116/fd004b2c/attachment.sig>


More information about the sssd-devel mailing list