[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

JITTER warnings with -fanalyzer

From: Jose E. Marchesi
Subject: JITTER warnings with -fanalyzer
Date: Sat, 01 May 2021 19:23:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Hi Luca, all.

I built poke with the latest git GCC master using -fanalyzer.
The following warnings in jitter show up.

(I am not including the warning in gnulib modules.)

   1608:../../jitter/jitterc/jitterc-generate.c:74:10: warning: leak of FILE 
'res' [CWE-775] [-Wanalyzer-file-leak]
   1889:../../jitter/jitterc/jitterc-parser.c:889:21: warning: leak of 'yyptr' 
[CWE-401] [-Wanalyzer-malloc-leak]
   2093:../../jitter/jitterc/jitterc-parser.c:895:19: warning: 'free' of 'yyss' 
which points to memory not on the heap [CWE-590] [-Wanalyzer-free-of-non-heap]
   2349:../../jitter/jitterc/jitterc-scanner.c:2541:12: warning: leak of 
'malloc(64)' [CWE-401] [-Wanalyzer-malloc-leak]
   2376:../../jitter/jitterc/jitterc-scanner.c:2583:26: warning: dereference of 
NULL 'b' [CWE-476] [-Wanalyzer-null-dereference]
   2541:../../jitter/jitterc/jitterc-scanner.c:2595:30: warning: dereference of 
NULL 'b' [CWE-476] [-Wanalyzer-null-dereference]
   2723:../../jitter/jitterc/jitterc-scanner.c:2739:12: warning: leak of 
'malloc(n)' [CWE-401] [-Wanalyzer-malloc-leak]

reply via email to

[Prev in Thread] Current Thread [Next in Thread]