bareos2015: bareos-12.4 d41d9771

Author Committer Branch Timestamp Parent
mvwieringen mvwieringen bareos-12.4 2013-05-04 15:14 bareos-12.4 bce6dcb8 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