Fix memory corruption faulting [VPP-1639] 52/19052/2
authorArtem Belov <artem.belov@xored.com>
Thu, 18 Apr 2019 07:30:43 +0000 (07:30 +0000)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Fri, 19 Apr 2019 12:17:05 +0000 (12:17 +0000)
commit0f36ef60d80998983a0502ac3f65b5fa71b8cbc4
tree6b5f25d5f13880494d97f6b625e0a68753f2773e
parent1dbebfa462e2f0e397579a3f4c24ee1c209a95b4
Fix memory corruption faulting [VPP-1639]

File pool may be reallocated on epoll events processing.
*f* pointer shows to already freed address and corrupting
memory chunk on clib_file_t property change.

Change-Id: I751bddce27325452862b939c1a3eec2ccd9b71bb
Signed-off-by: Artem Belov <artem.belov@xored.com>
(cherry picked from commit 32b07c31876ece35cff1b9ab99a74a631a88e35a)
src/vlib/unix/input.c