[Freeipa-devel] [PATCH] 061 Validate NAPTR records

Rob Crittenden rcritten at redhat.com
Mon Feb 21 18:18:07 UTC 2011


Jakub Hrozek wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I'm not sure about checking the flags - this might be a little too much
> validation.
>
> https://fedorahosted.org/freeipa/ticket/840

I think the flags length check needs to change. I would do this instead:

flags = flags.replace('"','')

Otherwise someone might try to pass in the flags 'SAU' and all that 
would get set is A.

rob




More information about the Freeipa-devel mailing list