Project

General

Profile

Actions

Optimization #6632

open

Do not have any warning with -Wsign-conversion

Added by Philippe Antoine 11 months ago. Updated 3 months ago.

Status:
New
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 (1 open0 closed)

Related to Suricata - Bug #6186: Integer overflows 64 to 32 bytesIn ReviewPhilippe AntoineActions
Actions #1

Updated by Philippe Antoine 11 months ago

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

Updated by Philippe Antoine 11 months ago

Also Wsign-compare

Actions #3

Updated by Philippe Antoine 3 months ago

  • Label Hardening added
Actions

Also available in: Atom PDF