1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/libdm
Peter Rajnoha a83c7816e4 Allocate buffer for reporting functions dynamically to support long outputs.
Fix memory leak of field_id in _output_field function.

There's been a patch added recently to use dynamic allocation for metadata
tags buffer to remove the 4k limit (for writing metadata out). However, when
using reporting commands like vgs and lvs, we still need to fix libdm reporting
functions themselves to support such long outputs. So the buffer used in those
reporting functions is dynamic now.

The patch also includes a fix for field_id memory leak which was found in
the _output_field function.
2010-11-01 13:31:55 +00:00
..
datastruct Add dm_zalloc and use it and dm_pool_zalloc throughout. 2010-09-30 21:06:50 +00:00
ioctl Use a more-generic name for the new kernel flag so list_devices can share it. 2010-10-25 11:44:20 +00:00
misc Use a more-generic name for the new kernel flag so list_devices can share it. 2010-10-25 11:44:20 +00:00
mm Use static indentifier for internal functions 2010-10-26 08:59:05 +00:00
regex Add dm_zalloc and use it and dm_pool_zalloc throughout. 2010-09-30 21:06:50 +00:00
.exported_symbols Generate liblvm2app and libdevmapper exported symbols from header files. 2010-06-25 18:17:38 +00:00
libdevmapper.h Use const pointer for return value of dm_basename 2010-10-25 13:13:53 +00:00
libdevmapper.pc.in Switch to use Requires.private for devmapper.pc and lvm2app.pc 2010-05-11 08:54:11 +00:00
libdm-common.c Add --setuuid to dmsetup rename. 2010-10-15 01:10:27 +00:00
libdm-common.h Several changes to udev support code: 2009-10-26 14:29:33 +00:00
libdm-deptree.c Add dm_zalloc and use it and dm_pool_zalloc throughout. 2010-09-30 21:06:50 +00:00
libdm-file.c Implement dmeventd -R, allowing dmeventd to be restarted without losing 2010-10-20 15:12:12 +00:00
libdm-report.c Allocate buffer for reporting functions dynamically to support long outputs. 2010-11-01 13:31:55 +00:00
libdm-string.c Use const pointer for return value of dm_basename 2010-10-25 13:13:53 +00:00
Makefile.in Clean generated files .exported_symbols_generated, example.conf for distclean. 2010-08-03 13:00:45 +00:00