bareos: master 65c1185b
Author | Committer | Branch | Timestamp | Parent | |
---|---|---|---|---|---|
Alaa Eddine Elamri | Alaa Eddine Elamri | master | 2021-09-08 13:25 | master a0afe5c0 | Pending |
Changeset | dird: changed the position of volume list memory allocation When in the while loop, the `vl` variable gets allocated some memory AFTER the fields check, and then this memory gets freed later in the loop. But when there is an iteration that stops at the check and gets redirected to `parse_error`, it has to free memory that was already freed in a previous iteration of the loop, which creates a double free situation that crashes the director. |
||||
mod - core/src/dird/sd_cmds.cc | Diff File |