Fix error in cablockwisetransfer.c
authorJaewook Jung <jw0213.jung@samsung.com>
Tue, 15 Mar 2016 10:44:32 +0000 (19:44 +0900)
committerAshok Babu Channa <ashok.channa@samsung.com>
Wed, 16 Mar 2016 11:48:57 +0000 (11:48 +0000)
commit00821d977c9d804fed5f6906c347e14d41564160
tree57851441136ff8edf896fbbe76dc4d92f4fe91a2
parent26200c4c7f1fc6e4fca965d6e00aee844aa83730
Fix error in cablockwisetransfer.c

In CACheckBlockDataValidation(), crash error occurs when sending response
as CACreateBlockDatablockId() tries to refer requestInfo only for sendData.

Change-Id: I2a7fc7ec17500f1c71e59d7181af81a77ac93705
Signed-off-by: Jaewook Jung <jw0213.jung@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5923
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
resource/csdk/connectivity/src/cablockwisetransfer.c