- Timestamp:
- Oct 18, 2007 11:38:45 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/solaris/alloc-solaris.cpp
r4362 r5373 50 50 void *pv = valloc(cb); 51 51 AssertMsg(pv, ("posix_memalign(%d) failed!!! errno=%d\n", cb, errno)); 52 if (RT_UNLIKELY((uintptr_t)pv + cb > _2G)) 53 { 54 AssertMsgFailed(("%p %#zx\n", pv, cb)); 55 free(pv); 56 return NULL; 57 } 52 58 if (pv) 53 59 {
Note:
See TracChangeset
for help on using the changeset viewer.