aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorJoerg Roedel <[email protected]>2012-03-09 12:37:48 +0000
committerJoerg Roedel <[email protected]>2012-03-09 12:37:48 +0000
commit6e930045abe51013ee3b47eaeb5aef4bc5a35218 (patch)
tree205cc19a0b9b41f2bb61e09ac0e6659079ce117d /lib/string_helpers.c
parentiommu/amd: Split amd_iommu_init function (diff)
downloadkernel-6e930045abe51013ee3b47eaeb5aef4bc5a35218.tar.gz
kernel-6e930045abe51013ee3b47eaeb5aef4bc5a35218.zip
iommu/amd: Fix double free of mem-region in error-path
When ioremap_nocache fails in iommu initialization the code calls release_mem_region immediatly. But the function is called again when the propagates into the upper init functions leading to a double-free. Fix that. Reported-by: Don Dutile <[email protected]> Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions