summary refs log tree commit diff stats
path: root/qapi/qapi-dealloc-visitor.c
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-11-22 07:25:48 +0100
committerBlue Swirl <blauwirbel@gmail.com>2012-11-24 19:54:43 +0000
commit89c9bc3d147fdaa932db99b0463b4af1d3e7cda1 (patch)
treea903c5234d5f6f2cf513520bfd7e492cd7bef0ca /qapi/qapi-dealloc-visitor.c
parentc6c5063c7a5bb1d3fe6b9931a1ec15294e39b8b1 (diff)
downloadfocaccia-qemu-89c9bc3d147fdaa932db99b0463b4af1d3e7cda1.tar.gz
focaccia-qemu-89c9bc3d147fdaa932db99b0463b4af1d3e7cda1.zip
block: Fix regression for MinGW (assertion caused by short string)
The local string tmp_filename is passed to function get_tmp_filename
which expects a string with minimum size MAX_PATH for w32 hosts.

MAX_PATH is 260 and PATH_MAX is 259, so tmp_filename was too short.

Commit eba25057b9a5e19d10ace2bc7716667a31297169 introduced this
regression.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'qapi/qapi-dealloc-visitor.c')
0 files changed, 0 insertions, 0 deletions