This is an automated email from the ASF dual-hosted git repository.
mochen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 5737f77e9c This fixes CID 1518257 (#10404)
5737f77e9c is described below
commit 5737f77e9c978cca0109f414e9ab1a31506116ce
Author: Mo Chen <[email protected]>
AuthorDate: Mon Sep 18 17:39:09 2023 -0500
This fixes CID 1518257 (#10404)
* Initialize _fd to a dummy value.
---
iocore/net/AsyncSignalEventIO.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/iocore/net/AsyncSignalEventIO.h b/iocore/net/AsyncSignalEventIO.h
index 4786df30dc..515b0c1933 100644
--- a/iocore/net/AsyncSignalEventIO.h
+++ b/iocore/net/AsyncSignalEventIO.h
@@ -35,5 +35,5 @@ public:
void process_event(int flags) override;
private:
- int _fd;
+ int _fd = -1;
};