summaryrefslogtreecommitdiffstats
path: root/ipapython
diff options
context:
space:
mode:
authorFlorence Blanc-Renaud <frenaud@redhat.com>2016-05-27 08:19:39 +0200
committerMartin Basti <mbasti@redhat.com>2016-06-14 09:26:15 +0200
commit2c7ec27ad94a5a369c7d8a45dcef66a18479900b (patch)
treeb991b4a73557d27aaf223c79662cc9c45a9add92 /ipapython
parent9f48c396497bd3e07045838d23afbb0d051dc136 (diff)
batch command can be used to trigger internal errors on server
In ipalib, the batch command expects a specific format for arguments. The code did not check the format of the parameters, which could trigger internal errors on the server. With this fix: - a ConversionError is raised if the arg passed to batch() is not a list of dict - the result appended to the batch results is a ConversionError if the 'params' does not contain a tuple(list,dict) https://fedorahosted.org/freeipa/ticket/5810 Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
Diffstat (limited to 'ipapython')
0 files changed, 0 insertions, 0 deletions