bareos: master 8220e6fa

Author Committer Branch Timestamp Parent
mvwieringen adm mvwieringen adm master 2013-05-04 21:08 master 4364b3e7 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