diff options
author | Dongwoo Lee <dwoo08.lee@samsung.com> | 2018-12-19 14:34:38 +0900 |
---|---|---|
committer | Dongwoo Lee <dwoo08.lee@samsung.com> | 2018-12-19 14:49:49 +0900 |
commit | 7984e9be606f2d2ab3c6df27f5cafcae908640b3 (patch) | |
tree | 9e9eb62315758d28ae8149dc47ce380be5de44f7 /NOTICE | |
parent | dc4e3faafc7a7643cedd09903c3f9a3d51709127 (diff) | |
download | lthor-7984e9be606f2d2ab3c6df27f5cafcae908640b3.tar.gz lthor-7984e9be606f2d2ab3c6df27f5cafcae908640b3.tar.bz2 lthor-7984e9be606f2d2ab3c6df27f5cafcae908640b3.zip |
Fix segmentation fault during network tranfer
Since 'chunk' which is unit of transfer is not initialized, aio_read()
is failed with invalid argument error. Moreover, in this case,
chunk.nh is even NULL, so chunk->nh->sock_fd cause segmentation fault.
Thus, this patch fixes to initialize chunk properly, and make chunk.nh
have network handler pointer.
Change-Id: I322a01ca99829eb928f26488a341cdaee1c4d9e2
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Diffstat (limited to 'NOTICE')
0 files changed, 0 insertions, 0 deletions