Changeset 258752 in webkit
- Timestamp:
- Mar 19, 2020 10:06:59 PM (4 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r258751 r258752 1 2020-03-19 David Kilzer <ddkilzer@apple.com> 2 3 SharedMemory::allocate() should initialize `address` 4 <https://webkit.org/b/209315> 5 <rdar://problem/60606720> 6 7 Reviewed by Geoffrey Garen. 8 9 * Platform/cocoa/SharedMemoryCocoa.cpp: 10 (WebKit::SharedMemory::allocate): Initialize `address` to zero. 11 1 12 2020-03-19 Tim Horton <timothy_horton@apple.com> 2 13 -
trunk/Source/WebKit/Platform/cocoa/SharedMemoryCocoa.cpp
r258677 r258752 118 118 ASSERT(size); 119 119 120 mach_vm_address_t address ;120 mach_vm_address_t address = 0; 121 121 kern_return_t kr = mach_vm_allocate(mach_task_self(), &address, round_page(size), VM_FLAGS_ANYWHERE); 122 122 if (kr != KERN_SUCCESS) {
Note: See TracChangeset
for help on using the changeset viewer.