]> git.proxmox.com Git - mirror_qemu.git/commit - block/vvfat.c
vvfat: Fix potential buffer overflow
authorKevin Wolf <kwolf@redhat.com>
Wed, 1 Jun 2011 08:57:00 +0000 (10:57 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 11 Oct 2011 07:42:46 +0000 (09:42 +0200)
commit0d460d6f414e02805cbc348404db03b2b7907360
treeab357e0a511d5433517594c1a851c418bcec8a2e
parent7ef6d3dc39f81bb798b153d8bfcab1e50bbc04b1
vvfat: Fix potential buffer overflow

path2[PATH_MAX] can be used for the null termination, so make the array big
enough to allow this.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/vvfat.c