1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 20:25:52 +03:00
LVM2 mirror repository https://sourceware.org/lvm2/
Go to file
Peter Rajnoha d03b1779b4 coverity: fix possible resource leak in _print_historical_lv function
The code in _print_historical_lv function works with temporary
"descendants_buffer" that is allocated and freed within this
function.

When printing text out, we used "outf" macro which called
"out_text" fn and it checked return value and if failed,
the macro called "return_0" automatically. But since we
use the temporary buffer, if any of the out_text calls
fails, we need to deallocate this buffer properly - that's
the "goto_out", otherwise we'll be leaking memory.

So add new "outfgo" helper macro which does the same as "outf",
but it calls "goto_out" instead of "return_0" so we can jump
to a cleanup hook at the end.
2016-03-07 10:43:50 +01:00
autoconf autoconf: Fix py-compile permissions 2016-02-18 01:05:05 +00:00
conf conf: regenerate example.conf.in 2016-03-03 13:50:59 +01:00
coverity doc: change fsf address 2016-01-21 12:11:37 +01:00
daemons lvmdbusd: Set locale 2016-03-04 10:13:04 -06:00
doc doc: change fsf address 2016-01-21 12:11:37 +01:00
include doc: change fsf address 2016-01-21 12:11:37 +01:00
lib coverity: fix possible resource leak in _print_historical_lv function 2016-03-07 10:43:50 +01:00
libdaemon coverity: helping coverity with NULL pointer 2016-02-26 10:21:36 +01:00
libdm libdm: config: fix dm_config_write_node and variants to properly return error on failures 2016-03-04 15:51:13 +01:00
liblvm metadata: also look at historical LVs when checking LV name availability 2016-03-03 13:50:59 +01:00
man man: lvrename: also mention possibility to rename historical logical volumes 2016-03-04 11:51:57 +01:00
nix lockd: Clean up spec 2015-07-04 14:36:57 +02:00
old-tests doc: change fsf address 2016-01-21 12:11:37 +01:00
po doc: change fsf address 2016-01-21 12:11:37 +01:00
python lvmdbus: Add new daemon. 2016-02-17 23:53:35 +00:00
report-generators doc: change fsf address 2016-01-21 12:11:37 +01:00
reports [REPORT-GENERATORS] cut down stylsheet.css to what we actually use 2010-07-21 10:00:38 +00:00
scripts lvmdump: also list historical LVs in lvmdump 2016-03-03 13:50:59 +01:00
spec spec: Fix 04ab1fa572: Remove left-overs 2016-02-22 17:50:35 +01:00
test dbustest.sh: Get dbus test to work on buildbot 2016-03-04 10:11:03 -06:00
tools lvrename: support renaming historical logical volumes 2016-03-04 11:36:24 +01:00
udev doc: change fsf address 2016-01-21 12:11:37 +01:00
unit-tests doc: change fsf address 2016-01-21 12:11:37 +01:00
.gitignore lvmdbus: Add new daemon. 2016-02-17 23:53:35 +00:00
acinclude.m4 configure: detect st_ctim 2015-03-18 13:42:24 +01:00
aclocal.m4 lvmdbus: Add new daemon. 2016-02-17 23:53:35 +00:00
configure configure 2016-02-25 13:58:48 +00:00
configure.in configure: require sanlock 3.3.0 2016-02-24 13:22:23 -06:00
COPYING doc: change fsf address 2016-01-21 12:11:37 +01: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 lvmdbus: Add new daemon. 2016-02-17 23:53:35 +00:00
Makefile.in makefiles: add more dirs for lcov output 2016-02-26 10:21:34 +01:00
README README: fix link to lvm-devel mailing list 2015-03-31 15:44:00 +02:00
VERSION post-release 2016-03-04 18:06:24 +00:00
VERSION_DM post-release 2016-03-04 18:06:24 +00:00
WHATS_NEW post-release 2016-03-04 18:06:24 +00:00
WHATS_NEW_DM post-release 2016-03-04 18:06:24 +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/

The source code is stored in git:
  http://git.fedorahosted.org/git/lvm2.git
  git clone git://git.fedorahosted.org/git/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

The source code repository used until 7th June 2012 is accessible here:
  http://sources.redhat.com/cgi-bin/cvsweb.cgi/LVM2/?cvsroot=lvm2.