Blame SOURCES/postfix-3.5.9-coverity-fix.patch
|
|
962864 |
diff --git a/src/util/dict_inline.c b/src/util/dict_inline.c
|
|
|
962864 |
index a416d7c..72339b2 100644
|
|
|
962864 |
--- a/src/util/dict_inline.c
|
|
|
962864 |
+++ b/src/util/dict_inline.c
|
|
|
962864 |
@@ -113,9 +113,9 @@ DICT *dict_inline_open(const char *name, int open_flags, int dict_flags)
|
|
|
962864 |
dict = dict_open3(DICT_TYPE_HT, name, open_flags, dict_flags);
|
|
|
962864 |
dict_type_override(dict, DICT_TYPE_INLINE);
|
|
|
962864 |
while ((nameval = mystrtokq(&cp, CHARS_COMMA_SP, CHARS_BRACE)) != 0) {
|
|
|
962864 |
- if ((nameval[0] != CHARS_BRACE[0]
|
|
|
962864 |
- || (err = free_me = extpar(&nameval, CHARS_BRACE, EXTPAR_FLAG_STRIP)) == 0)
|
|
|
962864 |
- && (err = split_qnameval(nameval, &vname, &value)) != 0)
|
|
|
962864 |
+ if (nameval[0] == CHARS_BRACE[0])
|
|
|
962864 |
+ err = free_me = extpar(&nameval, CHARS_BRACE, EXTPAR_FLAG_STRIP);
|
|
|
962864 |
+ if (err != 0 || (err = split_qnameval(nameval, &vname, &value)) != 0)
|
|
|
962864 |
break;
|
|
|
962864 |
|
|
|
962864 |
if ((dict->flags & DICT_FLAG_SRC_RHS_IS_FILE) != 0) {
|