Opened 11 years ago

Closed 11 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


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.


Attachments (1)

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

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by ph3-der-loewe

patch for backporters

comment:1 Changed 11 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.