edgetpu: dmabuf fix potential UAF

Fix read-after-free by not accessing dmap->map after it's added to
mappings.

Bug: 210571509
Signed-off-by: David Chiang <davidchiang@google.com>
Change-Id: Ia63df2f1604b593db5a81e631792abf797e7dccb
1 file changed
tree: 580f5d1b1818eec7673d36d23850afe53c34a66c
  1. drivers/
  2. .clang-format
  3. .gitignore