[Freeipa-devel] [PATCH] 091 Improve long integer type validation

Rob Crittenden rcritten at redhat.com
Mon Jul 18 13:43:40 UTC 2011


Martin Kosek wrote:
> On Fri, 2011-07-15 at 17:26 -0400, Rob Crittenden wrote:
>> Martin Kosek wrote:
>>> Passing a number of "long" type to IPA Int parameter invokes
>>> user-unfriendly error message about incompatible types. This patch
>>> improves Int parameter with user understandable message along with
>>> maximum value he can pass.
>>>
>>> https://fedorahosted.org/freeipa/ticket/1346
>>
>> nack. We need to limit Int to 32-bit values because that is what XML-RPC
>> supports. So if maxvalue isn't set we need to compare against MAXINT and
>> not sys.maxint.
>>
>> rob
>
> You are right. Sending a fixed patch.
>
> Martin

ACK




More information about the Freeipa-devel mailing list