Skip to content

Commit ab76b6c

Browse files
Sergey Komarovjengelh
authored andcommitted
http: fixed uninitialized field DCERPC_INFO::stat_flags
CID 1593839: (#1 of 1): Uninitialized scalar variable (UNINIT) 7. uninit_use: Using uninitialized value info. Field info.stat_flags is uninitialized.
1 parent 6b36bf2 commit ab76b6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/gromox/dcerpc.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ struct DCERPC_INFO {
2222
BOOL is_login = false; /* if client login */
2323
const char *username = nullptr; /* username of client by http auth */
2424
const char *maildir = nullptr, *lang = nullptr;
25-
uint32_t stat_flags; /* state flags of rpc context */
25+
uint32_t stat_flags = 0; /* state flags of rpc context */
2626
};
2727

2828
struct DCERPC_INTERFACE {

0 commit comments

Comments
 (0)