Project

General

Profile

Actions

Bug #3433

closed

coverity: CID 1456679: Memory - corruptions (NEGATIVE_RETURNS)

Added by Victor Julien almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

*** CID 1456679:  Memory - corruptions  (NEGATIVE_RETURNS)
/src/detect-engine-analyzer.c: 975 in EngineAnalysisItemsInit()
969                 for (size_t k = 0; k < ARRAY_SIZE(exposed_item_seen_list); k++) {
970                     if (0 == strcmp(exposed_item_seen_list[k].bufname, analyzer_item->item_name))
971                         exposed_item_seen_list[k].item_seen_ptr = &analyzer_item->item_seen;
972                 }
973     
974             }
>>>     CID 1456679:  Memory - corruptions  (NEGATIVE_RETURNS)
>>>     Using variable "analyzer_item->item_id" as an index to array "analyzer_item_map".
975             analyzer_item_map[analyzer_item->item_id] = (int16_t) i;
976         }
977     
978         analyzer_init = true;
979     }
980     
Actions #1

Updated by Victor Julien almost 5 years ago

  • Status changed from Assigned to Closed
Actions

Also available in: Atom PDF