Project

General

Profile

Actions

Bug #3009

closed
PA PA

Fixes warning about size of integers in string formats

Bug #3009: Fixes warning about size of integers in string formats

Added by Philippe Antoine almost 7 years ago. Updated over 6 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

PA Updated by Philippe Antoine almost 7 years ago Actions #1

  • Description updated (diff)

VJ Updated by Victor Julien almost 7 years ago Actions #2

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

PA Updated by Philippe Antoine over 6 years ago Actions #3

  • Label deleted (Needs backport)

VJ Updated by Victor Julien over 6 years ago Actions #4

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

VJ Updated by Victor Julien over 6 years ago Actions #5

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

Actions

Also available in: PDF Atom