1
0
mirror of https://github.com/MariaDB/server.git synced 2026-10-23 18:49:29 +03:00
Files
Mohammad Tafzeel Shams 6d35ae303a MDEV-41242 : Fix resource leaks on InnoDB/mariabackup error paths found by Infer
Several error-handling paths returned without releasing a resource
already acquired earlier in the function, or checked the wrong handle
entirely, risking use of an unopened handle.

Changes:
- SysTablespace::read_lsn_and_check_flags(): close the datafile handle
  on header-validation failure.
- xb_process_datadir(): check the freshly opened `dir` handle instead
  of the stale `dbdir`, fixing a handle leak and a possible use of an
  unopened directory handle.
- wsrep.cc / xb_load_list_file(): close file handles before die(), and
  null-check fopen() results in wsrep.cc.
- datadir_iter_new(): free datadir_path and destroy the mutex on the
  os_file_opendir() failure path.
2026-09-30 13:47:36 +05:30
..
2026-05-08 08:00:01 +02:00
2019-05-11 22:19:05 +03:00
2026-06-15 12:50:45 +02:00
2024-12-02 11:35:34 +02:00
2023-02-10 10:45:25 +01:00
2026-01-28 21:52:18 +01:00
2023-01-19 12:39:28 +01:00
2023-01-19 12:39:28 +01:00