ecore: Fix Asan stack overflow warning
authorSubhransu Mohanty <smohantty@gmail.com>
Wed, 3 Jun 2020 02:17:18 +0000 (11:17 +0900)
committerJongmin Lee <jm105.lee@samsung.com>
Wed, 3 Jun 2020 21:18:29 +0000 (06:18 +0900)
commitce67b392a82d61ff7f09869ea65448f31273b37d
tree47727438fea82bf0025b1cd69ad9e563b2f4acce
parent1c161e4c306b5522fa5d47bccb835626e0bd5d34
ecore: Fix Asan stack overflow warning

Summary:
As argument can be passed by register (depending on the compiler optimization)
when we take the adress of the nbytes and pass it to send() function which reades
4 bytes from it ASAN flags it as a stack overflow . So just assign the value to a
local variable to avoid the warning.

Reviewers: Hermet

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D11914
src/lib/ecore/ecore_pipe.c