Project

General

Profile

Actions

Bug #7475

closed

Problem in HashTable remove function

Added by Eric Leblond 7 months ago. Updated 9 days 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 (1 open0 closed)

Is duplicate of Suricata - Bug #7828: Unexpected remove behavior in util-hashNewCharles VigueActions
Actions #1

Updated by Philippe Antoine 22 days ago

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

Actions #2

Updated by Philippe Antoine 21 days 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 17 days ago

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

Updated by Philippe Antoine 9 days ago

  • Related to Bug #7828: Unexpected remove behavior in util-hash added
Actions #5

Updated by Philippe Antoine 9 days ago

  • Tracker changed from Optimization to Bug
Actions #6

Updated by Philippe Antoine 9 days ago

  • Affected Versions 8.0.0 added
Actions #7

Updated by Shivani Bhardwaj 9 days ago

  • Related to deleted (Bug #7828: Unexpected remove behavior in util-hash)
Actions #8

Updated by Shivani Bhardwaj 9 days ago

  • Is duplicate of Bug #7828: Unexpected remove behavior in util-hash added
Actions #9

Updated by Shivani Bhardwaj 9 days 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