-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Prevent chcat from expanding number of categories above max size of command line. Arbitrarily picked 25. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iEYEARECAAYFAkkUUyQACgkQrlYvE4MpobMDDwCg0DMLERlnHZyVmORa9de9f5tf fQsAoJZpO646H5CFuXZuW6htHpPfHz/z =4OcI -----END PGP SIGNATURE-----
--- nsapolicycoreutils/scripts/chcat 2008-08-28 09:34:24.000000000 -0400 +++ policycoreutils-2.0.57/scripts/chcat 2008-11-04 19:09:01.000000000 -0500 @@ -291,6 +291,8 @@ for i in c.split(","): if i not in newcats: newcats.append(i) + if len(newcats) > 25: + return cats return newcats def translate(cats):
Attachment:
chcat.patch.sig
Description: Binary data