Project

General

Profile

Actions

Bug #5012

open

CIL adds const for the function parameter which is changed

Added by Vadim Mutilin almost 10 years ago. Updated over 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
CIL
Start date:
06/27/2014
Due date:
% Done:

0%

Estimated time:
Detected in build:
svn
Platform:
Published in build:

Description

See parameter flags of the function sctp_make_datafrag_empty in net/sctp/sm_make_chunk.c, assignment:
flags |= SCTP_DATA_UNORDERED;

linux-3.12-rc1.tar.xz,43_1a,net/sctp/sctp.ko,ldv_main16_sequence_infinite_withcheck_stateful

current--X--net--X--defaultlinux-3.12-rc1.tar.xz--X--43_1a--X--cpachecker/linux-3.12-rc1.tar.xz/csd_deg_dscv/701/dscv_tempdir/dscv/ri/43_1a/net/sctp/sm_make_chunk.o.c.prepared:743:5: error: assignment of read-only parameter ‘flags’

Actions

Also available in: Atom PDF