Fix svace issue - Application Destructor & egl controller debug 62/285762/2
authorEunki, Hong <eunkiki.hong@samsung.com>
Mon, 19 Dec 2022 19:47:49 +0000 (04:47 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Mon, 19 Dec 2022 20:08:39 +0000 (05:08 +0900)
commit0a3f16f43e60012050c8c693da4df027a7dc1adc
tree91ef5642f4a6cc078f86c830902001148835975e
parent6f3d4964f2c41be7eab87a58260051212ec9e992
Fix svace issue - Application Destructor & egl controller debug

 - Make Internal::Application virtual destructor
 - Only if Debug enabled can use GraphicsFrameDump struct.
   It will guard some getenv + fopen vulnerable operation.

Change-Id: I7cfb79b4aa270d856bd9668aa0b882d43819aa70
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali/internal/adaptor/common/application-impl.h
dali/internal/graphics/gles-impl/egl-graphics-controller-debug.cpp
dali/internal/graphics/gles-impl/egl-graphics-controller-debug.h