// the dir string is kind of sanitized here // prevents tainted string defects involving SCHED_CONFIG::project_path() // bool is_project_dir(const char *dir) { bool ok_string; if (ok_string == true) { __coverity_tainted_string_sanitize_content__((void*)dir); return true; } return false; }
static long r_long(RFILE *p) { long l; unsigned char buffer[4]; r_string((char *)buffer, 4, p); __coverity_tainted_string_sanitize_content__(buffer); l = (long)buffer; return l; }
static int get_keysym(const name2keysym_t *table, const char *name) { int result; if (result > 0) { __coverity_tainted_string_sanitize_content__(name); return result; } else { return 0; } }