diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2010-08-30 17:38:38 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-09-02 12:23:19 -0400 |
commit | 93a69e1d88448ebf18ba5c103fe9e8d3ac7ca2e9 (patch) | |
tree | 6b39d89ecc2fb170c270c6366d8a02c0c76440b9 | |
parent | 11cfa5797768d920592901bfd9f1df7f240ef0a5 (diff) | |
download | sssd-93a69e1d88448ebf18ba5c103fe9e8d3ac7ca2e9.tar.gz sssd-93a69e1d88448ebf18ba5c103fe9e8d3ac7ca2e9.tar.xz sssd-93a69e1d88448ebf18ba5c103fe9e8d3ac7ca2e9.zip |
Fix wrong return value in HBAC time rules evaluation
Fixes: #584
-rw-r--r-- | src/providers/ipa/ipa_timerules.c | 1 |
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; |