Adjust UFclose to remove false positive of CWE-481
This commit is contained in:
committed by
Tatsuya Kinoshita
parent
14798c25c4
commit
dac68e4d90
2
html.h
2
html.h
@@ -12,7 +12,7 @@
|
||||
#define StrmyUFgets(f) StrmyISgets((f)->stream)
|
||||
#define UFgetc(f) ISgetc((f)->stream)
|
||||
#define UFundogetc(f) ISundogetc((f)->stream)
|
||||
#define UFclose(f) (void)(ISclose((f)->stream) == 0 && ((f)->stream = NULL))
|
||||
#define UFclose(f) if (ISclose((f)->stream) == 0) {(f)->stream = NULL ;}
|
||||
#define UFfileno(f) ISfileno((f)->stream)
|
||||
|
||||
struct cmdtable {
|
||||
|
Reference in New Issue
Block a user