commit | a3548077062dd9dc2701ebffd931ba6eaef40bec | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Fri Oct 26 16:33:32 2012 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Wed Nov 14 18:19:21 2012 +0100 |
tree | 910fe8f72cc51590b303e8cdebb73ddaf00a9c6a | |
parent | 8809e28937b8a48ff0dfeeb93498641392f26019 [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>