search for: num_key

Displaying 3 results from an estimated 3 matches for "num_key".

Did you mean: num_keys
2020 Oct 13
2
[Fwd: Joining AD - wrong DNS name, wrong keytab]
...mr_Password hash: ARRAY(16): <REDACTED SECRET VALUES> salt_data : * salt_data : 'DOMAIN.ORGhostclient.domain.org' default_iteration_count : 0x00001000 (4096) num_keys : 0x0004 (4) keys: ARRAY(4) keys: struct secrets_domain_info1_kerberos_key keytype : 0x00000012 (18) iteration_count : 0x00001000 (4096) value : DATA_...
2009 Feb 25
3
[Bug 1562] New: EXPAND_MAX_KEYS in percent_expand is actually (EXPAND_MAX_KEYS - 1)
...ent (id=1607) --> (http://bugzilla.mindrot.org/attachment.cgi?id=1607) suggested patch it may be a nit picking: EXPAND_MAX_KEYS, as any MAX macro, suggests that we can have up to EXPAND_MAX_KEYS keys. That's not true since if we reach the maximum, the following test bails out: if (num_keys >= EXPAND_MAX_KEYS) fatal("percent_expand: too many keys"); it's not a problem here since 16 becomes 15 which is still large enough but the issue is there anyway. I'm attaching a patch. In the patch changes, two "==" strings can be changed to "&...
2017 Oct 19
0
[Bug 1193] New: Incorrect malloc for SQL statements and missing strings length check
..._VALSIZE 100 +/* Maximum string length (non-escaped), will be replaced with NULL if longer */ +#define SQL_STRINGSIZE 255 /* create the static part of our insert statement */ static int sql_createstmt(struct ulogd_pluginstance *upi) @@ -78,13 +79,35 @@ for (i = 0; i < upi->input.num_keys; i++) { if (upi->input.keys[i].flags & ULOGD_KEYF_INACTIVE) continue; + + struct ulogd_key *key = upi->input.keys[i].u.source; + short key_length = 4; + /* we need space for the key and a comma, as well as - * enough space for the valu...