summaryrefslogtreecommitdiff
path: root/src/lib/eet
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2018-06-15 16:34:39 -0400
committerMike Blumenkrantz <zmike@samsung.com>2018-06-15 16:34:39 -0400
commit25e6b218db697600f42a028b3859659e61f0ae59 (patch)
tree669c8b3407ee7ef14c0bc1fb84c10af386fefc76 /src/lib/eet
parent4631d4ce7e7dca31310c00ea51f30fd186991714 (diff)
eet: handle decode failures as errors in variant decoding
Summary: all other null returns of _eet_data_descriptor_decode() are treated as fatal errors when decoding, and failure to do so in this case guarantees errors later due to incomplete decoding @fix ref T5379 Depends on D6293 Reviewers: devilhorns, ManMower Reviewed By: ManMower Subscribers: cedric, #committers Tags: #efl Maniphest Tasks: T5379 Differential Revision: https://phab.enlightenment.org/D6294
Diffstat (limited to 'src/lib/eet')
-rw-r--r--src/lib/eet/eet_data.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/eet/eet_data.c b/src/lib/eet/eet_data.c
index cf80e42e74..6cf19f211a 100644
--- a/src/lib/eet/eet_data.c
+++ b/src/lib/eet/eet_data.c
@@ -4505,8 +4505,7 @@ eet_data_get_variant(Eet_Free_Context *context,
4505 echnk->data, 4505 echnk->data,
4506 echnk->size, 4506 echnk->size,
4507 NULL, 0); 4507 NULL, 0);
4508 if (!data_ret) 4508 EINA_SAFETY_ON_TRUE_GOTO(!data_ret, on_error);
4509 break;
4510 4509
4511 /* And point to the variant data. */ 4510 /* And point to the variant data. */
4512 *(void **)data = data_ret; 4511 *(void **)data = data_ret;