- Timestamp:
- Jun 5, 2008 7:56:35 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevPcBios.cpp
r9440 r9447 829 829 do { \ 830 830 size_t _len = strlen(s) + 1; \ 831 size_t _max = (size_t)(pszStr + _len - (char *)pTable) + 1; /* +1 for strtab terminator*/ \831 size_t _max = (size_t)(pszStr + _len - (char *)pTable) + 5; /* +1 for strtab terminator +4 for end-of-table entry */ \ 832 832 if (_max > cbMax) \ 833 833 return PDMDevHlpVMSetError(pDevIns, VERR_TOO_MUCH_DATA, RT_SRC_POS, \
Note:
See TracChangeset
for help on using the changeset viewer.