1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 03:27:58 +03:00
LVM2 mirror repository https://sourceware.org/lvm2/
Go to file
Jonathan Earl Brassow 1456c3b298 Fix possible NULL pointer dereferences when updating mirror log.
'_lv_update_log_type' takes a lvconvert_params argument so that it can pass
down the user's preference of 'region_size' and allocation_policy.  When
'mirror_remove_missing' was introduced (commit ID
95986e42a1) it didn't make sense to pass down
user preferences - so NULL was given instead.  While it may never happen in
practice, static analysis reveals that this argument could be dereferenced.
So, if the user preferences were not passed in, glean the necessary fields
from what is already set in the LV.

Reported-by: Zdenek Kabelac <zkabelac@redhat.com>
Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>

(Not updating WHATSNEW for this simple clean-up.)
2012-02-13 18:36:55 +00:00
autoconf Using Fedora 14's autoreconf. 2011-01-07 14:38:34 +00:00
daemons Add some FIXME around allocation code 2012-02-13 14:25:14 +00:00
doc pre-release 2012-01-26 14:02:42 +00:00
include Do not scan device if it is part of active multipath. 2011-11-11 15:11:08 +00:00
lib Fix bug that caused RAID devices to be unable to activate if sub-LV was missing. 2012-02-13 17:59:21 +00:00
libdm Fix missing temp_buf init for error path 2012-02-13 14:39:24 +00:00
liblvm Add internal error for unsupported code paths 2012-02-13 11:25:56 +00:00
man Use m and M lv_attr to indicate that a snapshot merge failed in lvs. 2012-01-20 22:03:03 +00:00
old-tests Move tests from old-tests/regex to unit-tests/regex. unit-tests will 2010-07-20 15:18:57 +00:00
po INSTALL rules updates 2010-04-09 21:42:48 +00:00
report-generators add copyright notices to new files 2010-07-28 12:20:38 +00:00
reports [REPORT-GENERATORS] cut down stylsheet.css to what we actually use 2010-07-21 10:00:38 +00:00
scripts Clean up systemd unit ordering and requirements. 2012-02-01 13:08:39 +00:00
test Add test for memory allocation failures 2012-02-10 13:49:29 +00:00
tools Fix possible NULL pointer dereferences when updating mirror log. 2012-02-13 18:36:55 +00:00
udev Update udev rules to skip DM flags decoding for removed devices 2011-08-11 17:55:29 +00:00
unit-tests [MM] Make valgrind aware of the pool allocators 2010-08-09 10:56:01 +00:00
aclocal.m4 Add aclocal.m4 (for pkgconfig). 2011-01-07 16:27:05 +00:00
configure Add configure --with-systemdsystemunitdir. 2012-02-13 13:02:47 +00:00
configure.in Add configure --with-systemdsystemunitdir. 2012-02-13 13:02:47 +00:00
COPYING Outline docs 2001-12-31 16:12:40 +00: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 Superfluous '/' in systemd_dir path. 2012-02-13 17:31:14 +00:00
Makefile.in User correct base dir for lcov reports 2012-02-01 10:46:45 +00:00
README quick review of docs 2008-11-04 17:49:22 +00:00
VERSION post-release 2012-02-13 00:23:21 +00:00
VERSION_DM post-release 2012-02-13 00:23:21 +00:00
WHATS_NEW Never try to test character past given buffer 2012-02-13 14:23:40 +00:00
WHATS_NEW_DM Make sure dereferenced words[0] and words[1] are defined 2012-02-13 14:17:04 +00:00

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

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://sources.redhat.com/pub/lvm2/

To access the CVS tree use:
  cvs -d :pserver:cvs@sources.redhat.com:/cvs/lvm2 login
  CVS password: cvs
  cvs -d :pserver:cvs@sources.redhat.com:/cvs/lvm2 co LVM2

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

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

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