Project

General

Profile

Actions

Bug #3024

closed

include/osmo-bts/l1sap.h/L1SAP_FN2CCCHBLOCK: possible overflow

Added by fixeria about 6 years ago. Updated over 5 years ago.

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

100%

Spec Reference:

Description

Have a look at the:

#define L1SAP_FN2CCCHBLOCK(fn) ((fn % 51) / 5 - 1)

if (fn < 5), we may get (0 / 5 - 1) (0 - 1) -1.

Is this expected?

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)