Project

General

Profile

Actions

Bug #7475

closed

Problem in HashTable remove function

Added by Eric Leblond 9 months ago. Updated about 2 months ago.

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

Description

When the HashTableRemove function is called and when there is only one item in the bucket list, then the compare function is not called which could result in remove an entry without having the correct data.


Related issues 1 (0 open1 closed)

Is duplicate of Suricata - Bug #7828: util/hash: unexpected remove behaviorClosedCharles VigueActions
Actions #1

Updated by Philippe Antoine 2 months ago

I do not see a commit for this, is this really in review ?

Actions #2

Updated by Philippe Antoine 2 months ago

  • Affected Versions 8.0.0 added

I can see the buggy code, but maybe callers do not try to remove elements that are not in the hash table...

Actions #3

Updated by Philippe Antoine 2 months ago

  • Tracker changed from Bug to Optimization
  • Affected Versions deleted (8.0.0)
Actions #4

Updated by Philippe Antoine about 2 months ago

  • Related to Bug #7828: util/hash: unexpected remove behavior added
Actions #5

Updated by Philippe Antoine about 2 months ago

  • Tracker changed from Optimization to Bug
Actions #6

Updated by Philippe Antoine about 2 months ago

  • Affected Versions 8.0.0 added
Actions #7

Updated by Shivani Bhardwaj about 2 months ago

  • Related to deleted (Bug #7828: util/hash: unexpected remove behavior)
Actions #8

Updated by Shivani Bhardwaj about 2 months ago

  • Is duplicate of Bug #7828: util/hash: unexpected remove behavior added
Actions #9

Updated by Shivani Bhardwaj about 2 months ago

  • Status changed from In Review to Rejected
  • Assignee deleted (Eric Leblond)
  • Target version deleted (TBD)

@Eric Leblond rejecting this ticket as duplicate since the other one has a PR ready and you confirmed it's the same issue afterall.

Actions

Also available in: Atom PDF