You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2019/01/08 18:02:12 UTC
[trafficserver] branch 8.0.x updated: Added null value init for
VConn user_args.
This is an automated email from the ASF dual-hosted git repository.
bcall pushed a commit to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/8.0.x by this push:
new 9091749 Added null value init for VConn user_args.
9091749 is described below
commit 9091749dd126c0c402ce57e562904b80ed5a7da1
Author: dyrock <ze...@gmail.com>
AuthorDate: Fri Jan 4 22:40:07 2019 +0000
Added null value init for VConn user_args.
(cherry picked from commit 00408ff6112567c63ba9fb90aa0c430d39559bc8)
---
iocore/eventsystem/I_VConnection.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/iocore/eventsystem/I_VConnection.h b/iocore/eventsystem/I_VConnection.h
index 5c5b083..62f6041 100644
--- a/iocore/eventsystem/I_VConnection.h
+++ b/iocore/eventsystem/I_VConnection.h
@@ -406,7 +406,7 @@ public:
};
protected:
- std::array<void *, TS_VCONN_MAX_USER_ARG> user_args;
+ std::array<void *, TS_VCONN_MAX_USER_ARG> user_args{nullptr};
};
struct DummyVConnection : public AnnotatedVConnection {