Clear the values of pipe before calling handler.
authorRyuan Choi <ryuan.choi@samsung.com>
Fri, 25 Apr 2014 01:29:01 +0000 (10:29 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Fri, 25 Apr 2014 01:29:01 +0000 (10:29 +0900)
commit203006799186d47851509514786d05b4ae7fb644
tree91b2adbe7b68096e19f168d9a43e259309e05c66
parent64e947512acc913b600fc44bf8e1785651707385
Clear the values of pipe before calling handler.

Summary:
Applications are stuck when handler of pipe made nested loop.
In the nested loop, _ecore_pipe_read() tried to read new data based on previous information which is not cleared yet.

Spotted by gyuyoung.kim, sy302.park.

Related webkit bug is https://bugs.webkit.org/show_bug.cgi?id=129294

Reviewers: cedric, seoz, raster

CC: seoz, cedric
Differential Revision: https://phab.enlightenment.org/D790
src/lib/ecore/ecore_pipe.c