]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virfilemock: Init symbols in canonicalize_file_name()
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 6 May 2019 14:08:34 +0000 (16:08 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 7 May 2019 07:56:17 +0000 (09:56 +0200)
commitdd5ae5f240061248415f9095a006a376042f6887
tree36afe041238b5c1bb96eb6a63a2f5bee7934afb3
parent1ec3e397427907711a7e6cfe64cf8692b0f6690f
virfilemock: Init symbols in canonicalize_file_name()

If a program that is using this mock calls canonicalize_file_name()
as the very first function then it will face SIGSEGV because
real_canonicalize_file_name is uninitialized.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
tests/virfilemock.c