diff options
author | Dan Williams <dcbw@redhat.com> | 2012-01-11 15:30:45 -0600 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2012-01-11 15:30:45 -0600 |
commit | 29a1385e6ce7aee72cba32a0b47ae18e3994e9b5 (patch) | |
tree | 052a0734f09ea005ef77b37a33eade743cff1b22 /libqcdm/src/commands.h | |
parent | f3208bf3a6a94ed2a5e3f87c703df9ee0896cabf (diff) |
qcdm: LOG_CONFIG fixups
Fix some buffer overruns. Log codes are also 16-bit not 32.
Diffstat (limited to 'libqcdm/src/commands.h')
-rw-r--r-- | libqcdm/src/commands.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libqcdm/src/commands.h b/libqcdm/src/commands.h index 0d925cab..440f0755 100644 --- a/libqcdm/src/commands.h +++ b/libqcdm/src/commands.h @@ -506,7 +506,7 @@ size_t qcdm_cmd_log_config_get_mask_new (char *buf, size_t qcdm_cmd_log_config_set_mask_new (char *buf, size_t len, u_int32_t equip_id, - u_int32_t items[]); + u_int16_t items[]); #define QCDM_CMD_LOG_CONFIG_MASK_ITEM_EQUIP_ID "equip-id" |