Skip to content
Commit 446ab1fc authored by Pavel Emelyanov's avatar Pavel Emelyanov
Browse files

irmap: Don't let proc-parse free handle's mem before caching



Bug was introduced by on-disk-irmap-cache patch. The proc-parse
routine allocates memory for handle, calls ->cb then frees handle.

The problem is that the cb in case of pre-dump saves the handle
for future reference. So, in this future handle's mem happen to
be corrupted.

Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent c4b5a9d5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment