Opened 8 years ago

Closed 8 years ago

#310 closed defect (fixed)

Memory leak in hash framework

Reported by: ph3-der-loewe Owned by:
Priority: critical Milestone: RoarAudio major release 1.0
Component: libroar and friends Version: 1.0beta6
Keywords: Cc: maister@…, pmatthaei@…
Architecture: Compiler:
Difficulty: very easy Kernel:
Operating System: Parent Tickets:
Patch attached: no Protocol:
Sound driver: Topic: Bug Fix

Description

The hash framework leaks memory. This also affects the random number generator
The internal state of the hashing functions are leaked (after clearing it).

This likely happened in libroar/hash.c rev 1.20, commit ifmvqXqYuYHj9o8w.
Affected versions are: 1.0beta3-pr0 till trunk.

This mostly affects roard when using -s radionoise as well as rpld because it uses the RNG a lot.

Subtickets

Attachments (1)

hash.diff (558 bytes) - added by ph3-der-loewe 8 years ago.
patch for backporters

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by ph3-der-loewe

patch for backporters

comment:1 Changed 8 years ago by ph3-der-loewe

  • Resolution set to fixed
  • Status changed from new to closed
  • Version set to 1.0beta6
Note: See TracTickets for help on using tickets.