mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
virsh fails to read files larger than BUFSIZ bytes
* src/util.c (fread_file_lim): Use VIR_REALLOC_N, not VIR_ALLOC_N.
Bug introduced in 895d0fdf5b.
* tests/Makefile.am (test_scripts): Add read-bufsiz.
* tests/read-bufsiz: New test for the above.
This commit is contained in:
@@ -47,6 +47,7 @@ noinst_PROGRAMS = xmlrpctest xml2sexprtest sexpr2xmltest virshtest conftest \
|
||||
test_scripts = \
|
||||
daemon-conf \
|
||||
int-overflow \
|
||||
read-bufsiz \
|
||||
read-non-seekable \
|
||||
vcpupin
|
||||
|
||||
|
||||
Reference in New Issue
Block a user