diff options
Diffstat (limited to 'meta/recipes-core/systemd/systemd/journald-add-missing-error-check.patch')
-rw-r--r-- | meta/recipes-core/systemd/systemd/journald-add-missing-error-check.patch | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/meta/recipes-core/systemd/systemd/journald-add-missing-error-check.patch b/meta/recipes-core/systemd/systemd/journald-add-missing-error-check.patch deleted file mode 100644 index 10590e142c..0000000000 --- a/meta/recipes-core/systemd/systemd/journald-add-missing-error-check.patch +++ /dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | Upstream-Status: Backport [Fedora] | ||
2 | |||
3 | Index: systemd-208/src/journal/journal-file.c | ||
4 | =================================================================== | ||
5 | --- systemd-208.orig/src/journal/journal-file.c 2013-08-13 13:02:46.397707086 -0700 | ||
6 | +++ systemd-208/src/journal/journal-file.c 2014-02-07 22:29:01.398794277 -0800 | ||
7 | @@ -907,7 +907,8 @@ | ||
8 | |||
9 | osize = offsetof(Object, field.payload) + size; | ||
10 | r = journal_file_append_object(f, OBJECT_FIELD, osize, &o, &p); | ||
11 | - | ||
12 | + if (r < 0) | ||
13 | + return r; | ||
14 | o->field.hash = htole64(hash); | ||
15 | memcpy(o->field.payload, field, size); | ||
16 | |||