From: Rafał Miłecki <[email protected]> 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: <[email protected]>
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 [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
