diff --git a/gck-rpc-module.c b/gck-rpc-module.c index 1ddd18f12d20c7f30742b02997162ab9bf8fc4aa..bafc9caff44511d7227a2202e7db19a02b159201 100644 --- a/gck-rpc-module.c +++ b/gck-rpc-module.c @@ -740,6 +740,9 @@ proto_read_attribute_array(GckRpcMessage * msg, CK_ATTRIBUTE_PTR arr, return PARSE_ERROR; } attrlen = value; + } else { + warning(("failed reading byte array")); + return PARSE_ERROR; } }