g_assert (in != NULL);
- if (map == NULL || len == 0) {
+ if (map == NULL || len == 0 || map->regexps == NULL) {
return NULL;
}
g_assert (in != NULL);
- if (map == NULL || len == 0) {
+ if (map == NULL || map->regexps == NULL || len == 0) {
return NULL;
}
khiter_t k;
struct rspamd_map_helper_value *val;
- if (map == NULL) {
+ if (map == NULL || map->htb == NULL) {
return NULL;
}
{
struct rspamd_map_helper_value *val;
- if (map == NULL) {
+ if (map == NULL || map->trie == NULL) {
return NULL;
}
{
struct rspamd_map_helper_value *val;
- if (map == NULL) {
+ if (map == NULL || map->trie == NULL) {
return NULL;
}