diff options
-rw-r--r-- | src/info.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -118,7 +118,7 @@ info_slots(void) } /** - Passing too much buffer space. */ - count = p11t_info_slot_ids + 5; + count = p11t_info_slot_count + 5; rv = (p11t_module_funcs->C_GetSlotList)(FALSE, p11t_info_slot_ids, &count); if(!p11t_check_returns("C_GetSlotList", rv, CKR_OK)) { |