We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ee2117 commit cf823b7Copy full SHA for cf823b7
1 file changed
src/node_credentials.cc
@@ -50,7 +50,7 @@ namespace credentials {
50
static bool HasOnly(int capability) {
51
DCHECK(cap_valid(capability));
52
53
- struct __user_cap_data_struct cap_data[_LINUX_CAPABILITY_U32S_3];
+ struct __user_cap_data_struct cap_data[_LINUX_CAPABILITY_U32S_3] = {};
54
struct __user_cap_header_struct cap_header_data = {
55
_LINUX_CAPABILITY_VERSION_3,
56
getpid()};
0 commit comments