Fix prevent issue 74/8474/1
authorwootak.jung <wootak.jung@samsung.com>
Thu, 27 Jun 2013 01:17:40 +0000 (10:17 +0900)
committerwootak.jung <wootak.jung@samsung.com>
Tue, 20 Aug 2013 00:58:57 +0000 (09:58 +0900)
commit2f6a901aa2f4f9b1f27521856351ddb6dcefafca
treea3b04e565b88ad387a37da3a69b34fc30b024b75
parent2ec83e216c1c00a5d8ab0cfac9135792c8056585
Fix prevent issue

- src/co_call.c: buffer_size_warning
Calling strncpy with a maximum size argument of 83 bytes on destination
array "co->cna.name" of size 83 bytes might leave the destination string
unterminated.

- src/co_call.c: dead_error_line
Execution cannot reach this statement "continue;".

- src/co_sat.c: check_after_deref
Null-checking "address" suggests that it may be null, but it has already
been dereferenced on all paths leading to the check.

- src/at.c: suspicious_sizeof
Passing argument "at->resp" of type "TcoreATResponse *" and argument
"4 /* sizeof (TcoreATResponse *) */" to function "tcore_pending_emit_
response_callback(TcorePending *, int, void const *)" is suspicious.
Did you intend to use "sizeof(TcoreATResponse)" instead of "sizeof
(TcoreATResponse *)" ?

Change-Id: Ic5fd98b57b2cca40da80f74a5e3415974287e56a
packaging/libtcore.spec
src/at.c
src/co_call.c
src/co_sat.c