summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2010-08-30 17:38:38 +0200
committerStephen Gallagher <sgallagh@redhat.com>2010-09-02 12:23:19 -0400
commit93a69e1d88448ebf18ba5c103fe9e8d3ac7ca2e9 (patch)
tree6b39d89ecc2fb170c270c6366d8a02c0c76440b9 /src
parent11cfa5797768d920592901bfd9f1df7f240ef0a5 (diff)
downloadsssd-93a69e1d88448ebf18ba5c103fe9e8d3ac7ca2e9.tar.gz
sssd-93a69e1d88448ebf18ba5c103fe9e8d3ac7ca2e9.tar.bz2
sssd-93a69e1d88448ebf18ba5c103fe9e8d3ac7ca2e9.zip
Fix wrong return value in HBAC time rules evaluation
Fixes: #584
Diffstat (limited to 'src')
-rw-r--r--src/providers/ipa/ipa_timerules.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/providers/ipa/ipa_timerules.c b/src/providers/ipa/ipa_timerules.c
index 28a61d7b..8ac074ad 100644
--- a/src/providers/ipa/ipa_timerules.c
+++ b/src/providers/ipa/ipa_timerules.c
@@ -660,6 +660,7 @@ static int parse_absolute(struct absolute_range *absr,
if (difftime(absr->time_to, absr->time_from) < 0) {
DEBUG(1, ("Not a valid interval\n"));
ret = EINVAL;
+ goto done;
}
ret = EOK;