os/compress_read.c : Add NULL checking for read/out buffer
os/compress_read.c : Add NULL checking for read/out buffer

Add NULL checking for read/out buffer which will be used for compression and decompression.

Signed-off-by: jeongchanKim <dd29dda359f9c9995ad03eb5d0e774929bcceb5c@samsung.com>

sunghan-chang/TizenRT,Samsung/TizenRT,Samsung/TizenRT,Samsung/TizenRT,jeongchanKim/TizenRT,Samsung/TizenRT,jeongchanKim/TizenRT,jeongarmy/TizenRT,jeongchanKim/TizenRT,sunghan-chang/TizenRT,an4967/TizenRT,Samsung/TizenRT,an4967/TizenRT,jeongarmy/TizenRT,Samsung/TizenRT,jeongarmy/TizenRT,jeongarmy/TizenRT,an4967/TizenRT,sunghan-chang/TizenRT,sunghan-chang/TizenRT,sunghan-chang/TizenRT,jeongarmy/TizenRT,sunghan-chang/TizenRT,jeongchanKim/TizenRT,Samsung/TizenRT,an4967/TizenRT,an4967/TizenRT,jeongchanKim/TizenRT,an4967/TizenRT,jeongchanKim/TizenRT,an4967/TizenRT,jeongchanKim/TizenRT,jeongarmy/TizenRT,jeongarmy/TizenRT,sunghan-chang/TizenRT