Project

General

Profile

Actions

Bug #3009

closed

Fixes warning about size of integers in string formats

Added by Philippe Antoine almost 5 years ago. Updated over 4 years ago.

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

Description

Found by compiler Apple LLVM version 10.0.0 (clang-1000.11.45.5)
Example :

decode-icmpv4.c:88:55: warning: format specifies type 'unsigned char' but the argument has type 'uint16_t' (aka 'unsigned short') [-Wformat]
                           "%"PRIu8" dport %"PRIu8"", p->icmpv4vars.emb_sport,


Related issues 1 (0 open1 closed)

Copied to Suricata - Bug #3129: Fixes warning about size of integers in string formats (4.1.x)ClosedPhilippe AntoineActions
Actions #1

Updated by Philippe Antoine almost 5 years ago

  • Description updated (diff)
Actions #2

Updated by Victor Julien almost 5 years ago

  • Status changed from New to Closed
  • Target version set to 5.0rc1
  • Label Needs backport added
Actions #3

Updated by Philippe Antoine over 4 years ago

  • Label deleted (Needs backport)
Actions #4

Updated by Victor Julien over 4 years ago

  • Copied to Bug #3129: Fixes warning about size of integers in string formats (4.1.x) added
Actions #5

Updated by Victor Julien over 4 years ago

The 'needs backport' label is an indication that a ticket for the current stable should be created.

Actions

Also available in: Atom PDF