Project

General

Profile

Actions

Bug #6186

closed

Integer overflows 64 to 32 bytes

Added by Philippe Antoine about 2 years ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Target version:
Affected Versions:
Effort:
Difficulty:
Label:
Hardening

Description

clang supports -Wshorten-64-to-32 in addition ro -Wimplicit-int-conversion

There are quite a few complaints while building Suricata. We should fix them all and get this into CI


Related issues 5 (1 open4 closed)

Related to Suricata - Task #6209: libhtp 0.5.46ClosedVictor JulienActions
Related to Suricata - Optimization #6632: Do not have any warning with -Wsign-conversion NewOISF DevActions
Related to Suricata - Feature #7311: http1: log invalid status as stringClosedPhilippe AntoineActions
Related to Suricata - Security #7366: bpf: oversized bpf file can lead to buffer overflowClosedPhilippe AntoineActions
Copied from Suricata - Bug #4516: Integer overflowsClosedPhilippe AntoineActions
Actions

Also available in: Atom PDF