From: Deokhyun Kim Date: Thu, 10 Jan 2019 05:09:34 +0000 (+0900) Subject: Fix svace issue(27475) X-Git-Tag: submit/tizen/20190111.043317~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dfdc4e8b1ef995ef2c7eb502f055221a343f8812;p=platform%2Fcore%2Fapi%2Fbluetooth.git Fix svace issue(27475) Change-Id: Ia8d52caaa687ed9cc21e0a9cdc43681b717a7656 Signed-off-by: Deokhyun Kim --- diff --git a/src/bluetooth-pbap.c b/src/bluetooth-pbap.c index d6b5af1..f7d17c2 100644 --- a/src/bluetooth-pbap.c +++ b/src/bluetooth-pbap.c @@ -180,10 +180,6 @@ int bt_pbap_client_get_phone_book(const char *address, bt_pbap_address_book_sour if (max_list_count <= 0) return BT_ERROR_INVALID_PARAMETER; - /* Maximum value of maxlistcount is 65535 */ - if (max_list_count > 65535) - max_list_count = 65535; - app_param.format = format; app_param.order = order; app_param.offset = offset;