aboutsummaryrefslogtreecommitdiff
path: root/page_cache.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2012-10-26 16:33:32 +0200
committerKevin Wolf <kwolf@redhat.com>2012-11-14 18:19:21 +0100
commita3548077062dd9dc2701ebffd931ba6eaef40bec (patch)
tree910fe8f72cc51590b303e8cdebb73ddaf00a9c6a /page_cache.c
parent8809e28937b8a48ff0dfeeb93498641392f26019 (diff)
qcow2: Fix refcount table size calculation
A missing factor for the refcount table entry size in the calculation could mean that too little memory was allocated for the in-memory representation of the table, resulting in a buffer overflow. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Michael Tokarev <mjt@tls.msk.ru> Tested-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'page_cache.c')
0 files changed, 0 insertions, 0 deletions