Project

General

Profile

Bug #3021

src/gsm/gsm0808.c/gsm0808_create_paging(): Expression 'cil' is always true

Added by fixeria 5 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
libosmogsm
Target version:
-
Start date:
03/01/2018
Due date:
% Done:

0%

Estimated time:
Spec Reference:

Description

Have a look at the following parts of the gsm0808_create_paging():

/* Mandatory emelents! */
OSMO_ASSERT(imsi);
OSMO_ASSERT(cil);

and

/* Cell Identifier List 3.2.2.27 */
if (cil)
gsm0808_enc_cell_id_list(msg, cil);

The 'cil' cannot be NULL, because we assert this.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)