bareos: bareos-12.4 fcf725cc

Author Committer Branch Timestamp Parent
mvwieringen adm mvwieringen adm bareos-12.4 2013-05-04 13:14 bareos-12.4 9935726e Pending
Affected Issues  0000096: btape crashes using multiple tape test when tape was written by a fill test before - segmentation violation Floating-point excep
Changeset Fix segmentation fault when running fill multiple times.

Code frees block but doesn't set the pointer to NULL so a next run of
the code thinks that everything is already allocated but all pointers
point to already freed memory which gives some firework.

Fixes 0000096: Running fill test twice leads to segmentation violation.
mod - src/stored/btape.c Diff File