[OpenWrt-Devel] [PATCH fstools 0/2] libblkid-tiny: rework handling buffers
Rafał Miłecki
zajec5 at gmail.com
Sat Dec 14 16:54:59 EST 2019
From: Rafał Miłecki <rafal at milecki.pl>
This fixes problem with corrupting data buffer by a subsequent data
read. This was originally reported in the:
libblkid-tiny: bugged buffer management
Message-ID: <94e6f04d-19c5-3818-0748-db4ec0d481ad at gmail.com>
Please verify I didn't add any memory leak. I hope I actually fixed one
in the blkid_probe_get_buffer().
Rafał Miłecki (2):
libblkid-tiny: add functions for allocating & freeing probe struct
libblkid-tiny: use separated buffer for each block device read
CMakeLists.txt | 1 +
libblkid-tiny/libblkid-tiny.c | 36 +++++++++--------------
libblkid-tiny/libblkid-tiny.h | 5 ++++
libblkid-tiny/probe.c | 54 +++++++++++++++++++++++++++++++++++
probe.c | 38 +++++++++++++-----------
5 files changed, 96 insertions(+), 38 deletions(-)
create mode 100644 libblkid-tiny/probe.c
--
2.21.0
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list