1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
LVM2 mirror repository https://sourceware.org/lvm2/
Go to file
Peter Rajnoha cd14d3fcc0
toollib: fix segfault if using -S|--select with log/report_command_log=1 setting
When we are using -S|--select for non-reporting tools while using command log
reporting (log/report_command_log=1 setting), we need to create an internal
processing handle to handle the selection itself. In this case, the internal
processing handle to execute the selection (to process the -S|--select) has
a parent handle (that is processing the actual non-reporting command).

When this parent handle exists, we can't destroy the command log report
in destroy_processing_handle as there's still the parent processing to
finish. The parent processing may still generate logs which need to be
reported in the command log report. If the command log report was
destroyed prematurely together with destroying the internal processing
handle for -S|--select, then any subsequent log request from processing
the actual command (and hence an attermpt to access the command log report)
ended up with a segfault.

See also: https://bugzilla.redhat.com/show_bug.cgi?id=2175220
2023-03-07 15:29:54 +01:00
autoconf autoreconf: support newer archs 2022-08-15 13:32:55 +02:00
base gcc: use more zero length arrays 2021-09-22 17:18:50 +02:00
conf doc: fix typos in documentation 2023-01-03 16:09:58 +01:00
coverity cov: drop model for origin_from_cow 2020-09-12 13:23:49 +02:00
daemons lvmdbusd: Add needed env. variables 2023-03-06 10:26:44 -06:00
device_mapper cov: avoid using strcpy 2023-02-17 00:00:04 +01:00
doc doc: fix typos in documentation 2023-01-03 16:09:58 +01:00
include makefiles: avoid piping 2023-02-10 17:50:27 +01:00
lib lvresize: fix check for mounted and renamed LV to handle spaces 2023-02-23 16:55:36 -06:00
libdaemon cov: remove unused headers 2022-07-11 01:18:24 +02:00
libdm configure.ac: use pkg-config to detect static libs 2023-02-23 16:46:35 +01:00
man man: update lvmcache cache setting 2023-02-13 13:41:59 +01:00
nix lockd: Clean up spec 2015-07-04 14:36:57 +02:00
po makefiles: fix pofile generation 2021-03-02 22:54:40 +01:00
scripts tests: cleanup some shellcheck warns 2023-02-10 17:50:27 +01:00
spec spec: Workaround for failing build 2022-09-20 15:12:44 +02:00
test lvmdbustest: Test duplicate VG rename 2023-03-03 11:17:30 -06:00
tools toollib: fix segfault if using -S|--select with log/report_command_log=1 setting 2023-03-07 15:29:54 +01:00
udev makefiles: avoid grep 2023-02-23 16:46:35 +01:00
.gitignore gitignore: update 2022-09-07 15:00:15 +02:00
acinclude.m4 acinclude.m4: add local copy of PKG_CHECK_VAR 2023-02-13 14:30:46 +01:00
aclocal.m4 autoreconf: support newer archs 2022-08-15 13:32:55 +02:00
configure configure: update 2023-02-23 16:46:35 +01:00
configure.ac configure.ac: use pkg-config to detect static libs 2023-02-23 16:46:35 +01:00
COPYING doc: change fsf address 2016-01-21 12:11:37 +01:00
COPYING.BSD Add BSD 2-Clause License 2018-07-27 17:09:46 +02:00
COPYING.LIB Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
INSTALL quick review of docs 2008-11-04 17:49:22 +00:00
make.tmpl.in configure: update 2023-02-23 16:46:35 +01:00
Makefile.in makefiles: update doc 2023-02-13 13:41:59 +01:00
README Update README 2020-08-12 12:05:36 +02:00
TESTING doc: fix typos in documentation 2023-01-03 16:09:58 +01:00
VERSION post-release 2023-02-21 15:36:24 +01:00
VERSION_DM post-release 2023-02-21 15:36:24 +01:00
WHATS_NEW toollib: fix segfault if using -S|--select with log/report_command_log=1 setting 2023-03-07 15:29:54 +01:00
WHATS_NEW_DM post-release 2023-02-21 15:36:24 +01:00

This tree contains the LVM2 and device-mapper tools and libraries.

This is development branch, for stable 2.02 release see stable-2.02 branch.

For more information about LVM2 read the changelog in the WHATS_NEW file.
Installation instructions are in INSTALL.

There is no warranty - see COPYING and COPYING.LIB.

Tarballs are available from:
  ftp://sourceware.org/pub/lvm2/
  https://github.com/lvmteam/lvm2/releases

The source code is stored in git:
  https://sourceware.org/git/?p=lvm2.git
  git clone git://sourceware.org/git/lvm2.git
mirrored to:
  https://github.com/lvmteam/lvm2
  git clone https://github.com/lvmteam/lvm2.git
  git clone git@github.com:lvmteam/lvm2.git

Mailing list for general discussion related to LVM2:
  linux-lvm@redhat.com
  Subscribe from https://www.redhat.com/mailman/listinfo/linux-lvm

Mailing lists for LVM2 development, patches and commits:
  lvm-devel@redhat.com
  Subscribe from https://www.redhat.com/mailman/listinfo/lvm-devel

  lvm2-commits@lists.fedorahosted.org (Read-only archive of commits)
  Subscribe from https://fedorahosted.org/mailman/listinfo/lvm2-commits

Mailing list for device-mapper development, including kernel patches
and multipath-tools:
  dm-devel@redhat.com
  Subscribe from https://www.redhat.com/mailman/listinfo/dm-devel

Website:
  https://sourceware.org/lvm2/

Report upstream bugs at:
  https://bugzilla.redhat.com/enter_bug.cgi?product=LVM%20and%20device-mapper
or open issues at:
  https://github.com/lvmteam/lvm2/issues

The source code repository used until 7th June 2012 is accessible using CVS:

  cvs -d :pserver:cvs@sourceware.org:/cvs/lvm2 login cvs
  cvs -d :pserver:cvs@sourceware.org:/cvs/lvm2 checkout LVM2

The password is cvs.