diff options
-rw-r--r-- | p11-kit/rpc-server.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/p11-kit/rpc-server.c b/p11-kit/rpc-server.c index dec9b0b..1eebf1b 100644 --- a/p11-kit/rpc-server.c +++ b/p11-kit/rpc-server.c @@ -305,6 +305,7 @@ proto_read_attribute_array (p11_rpc_message *msg, size_t offset = msg->parsed; CK_ATTRIBUTE temp; + /* Check the length needed to store the value */ memset (&temp, 0, sizeof (temp)); if (!p11_rpc_buffer_get_attribute (msg->input, &offset, &temp)) { msg->parsed = offset; |