summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-02-12 14:53:38 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-02-12 16:25:35 +0900
commit16131b14f0b13551875129e5d1b327a6733facb9 (patch)
treee2dbfa42bd942b144d7922bdc441d3119d91ddcc
parent9c984ea9cfb810ad053c97b86a2751df9f2ec8a2 (diff)
efm ipc - fix unaligned int read on ipc decode
warning was right - this is an unaligned read. fix.
-rw-r--r--src/bin/e_fm/e_fm_ipc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/e_fm/e_fm_ipc.c b/src/bin/e_fm/e_fm_ipc.c
index 0a85560fe..d26c9d6d4 100644
--- a/src/bin/e_fm/e_fm_ipc.c
+++ b/src/bin/e_fm/e_fm_ipc.c
@@ -718,7 +718,7 @@ _e_fm_ipc_cb_server_data(void *data EINA_UNUSED, int type EINA_UNUSED, void *eve
718 relative = p; 718 relative = p;
719 p += strlen(relative) + 1; 719 p += strlen(relative) + 1;
720 720
721 after = *((int *)p); 721 memcpy(&after, p, sizeof(int));
722 722
723 _e_fm_ipc_reorder(file, dst, relative, after); 723 _e_fm_ipc_reorder(file, dst, relative, after);
724 } 724 }