From 9609db817334af05d7c32360d7d009d118c0c226 Mon Sep 17 00:00:00 2001 From: nealsid Date: Thu, 17 Apr 2008 04:15:30 +0000 Subject: [PATCH] Fix a bug in start address calculation git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@261 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/client/mac/handler/dynamic_images.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/mac/handler/dynamic_images.cc b/src/client/mac/handler/dynamic_images.cc index b8a6f6c5..0d63d5a7 100644 --- a/src/client/mac/handler/dynamic_images.cc +++ b/src/client/mac/handler/dynamic_images.cc @@ -145,7 +145,7 @@ void* ReadTaskMemory(task_port_t target_task, // use the negative of the page size for the mask to find the page address mach_vm_address_t page_address = - reinterpret_cast(address) && (-systemPageSize); + reinterpret_cast(address) & (-systemPageSize); mach_vm_address_t last_page_address = (reinterpret_cast(address) + length +