Fix static analysis issues 12/270212/3 accepted/tizen_7.0_unified_hotfix tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.062811 accepted/tizen/7.0/unified/hotfix/20221116.105605 accepted/tizen/unified/20220128.144346 submit/tizen/20220126.233137 tizen_7.0_m2_release
authorTomasz Swierczek <t.swierczek@samsung.com>
Wed, 26 Jan 2022 11:09:21 +0000 (12:09 +0100)
committerTomasz Swierczek <t.swierczek@samsung.com>
Wed, 26 Jan 2022 11:33:24 +0000 (12:33 +0100)
commit4d622c4e5d811f3143a66c9caa3346f37f17c5e2
treefb318231da4b2752feffac8a01ea8ffcb041b0f8
parent97afad15ef319c2d5f80491b39f9bf072fcdddb8
Fix static analysis issues

ContentsType field in t_file_header is treated in few places as
null-terminated string. Hence, changed operations on this field
in function TADC_GetFileHeader to ensure that the null-byte stays
at the end of the table.

pstmt variable could be possibly released two times.

Change-Id: I1bf12ff63848ade2ba7dcaef5e334662c0853152
tadcore/TADCCore/TADC_Core.cpp
tappsd/src/rights/DTapps2Rights.cpp