Searched refs:kod_db (Results 1 – 4 of 4) sorted by relevance
15 struct kod_entry **kod_db; /* array of pointers to kod_entry */ variable30 if (!strcmp(kod_db[a]->hostname, hostname)) in search_entry()42 if (!strcmp(kod_db[a]->hostname, hostname)) { in search_entry()43 (*dst)[b] = *kod_db[a]; in search_entry()70 if (strcmp(kod_db[n]->hostname, pke->hostname) >= 0) in add_entry()74 0 == strcmp(kod_db[n]->hostname, pke->hostname)) { in add_entry()75 kod_db[n]->timestamp = pke->timestamp; in add_entry()81 kod_db = erealloc(kod_db, kod_db_cnt * sizeof(kod_db[0])); in add_entry()83 memmove(&kod_db[n + 1], &kod_db[n], in add_entry()84 sizeof(kod_db[0]) * ((kod_db_cnt - 1) - n)); in add_entry()[all …]
15 extern struct kod_entry** kod_db;30 kod_db = NULL; in setUp()111 kod_db[0]->timestamp = 1; in test_WriteFileWithSingleEntry()139 kod_db[0]->timestamp = 0xabcd; in test_WriteFileWithMultipleEntries()140 kod_db[1]->timestamp = 0xabcd; in test_WriteFileWithMultipleEntries()141 kod_db[2]->timestamp = 0xabcd; in test_WriteFileWithMultipleEntries()
4077 * [Bug 1250] CID 53: kod_init_kod_db() overruns kod_db malloc'd buffer.
[all...]