Project

General

Profile

Actions

Optimization #6632

open
PA OD

Do not have any warning with -Wsign-conversion

Optimization #6632: Do not have any warning with -Wsign-conversion

Added by Philippe Antoine over 2 years ago. Updated 3 months ago.

Status:
Assigned
Priority:
Normal
Assignee:
Target version:
Effort:
Difficulty:
Label:
Hardening

Description

Example

app-layer-ftp.c:376:38: warning: implicit conversion changes signedness: 'int32_t' (aka 'int') to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
  376 |         uint32_t o_consumed = input->consumed;

Related issues 1 (0 open1 closed)

Related to Suricata - Bug #6186: Integer overflows 64 to 32 bytesClosedPhilippe AntoineActions

PA Updated by Philippe Antoine over 2 years ago Actions #1

  • Related to Bug #6186: Integer overflows 64 to 32 bytes added

PA Updated by Philippe Antoine over 2 years ago Actions #2

Also Wsign-compare

PA Updated by Philippe Antoine over 1 year ago Actions #3

  • Label Hardening added

PA Updated by Philippe Antoine 3 months ago Actions #4

  • Status changed from New to Assigned
Actions

Also available in: PDF Atom