Changeset 62448 in vbox for trunk/src/VBox/Runtime/common/asn1
- Timestamp:
- Jul 22, 2016 2:51:49 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 109001
- Location:
- trunk/src/VBox/Runtime/common/asn1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/asn1/asn1-ut-objid.cpp
r57358 r62448 430 430 RTAsn1MemInitAllocation(&pThis->Allocation, pAllocator); 431 431 pThis->cComponents = pSrc->cComponents; 432 #if 0 /** @todo breaks with arrays of ObjIds or structs containing them. They get resized and repositioned in memory, thus invalidating the pointer. Add recall-pointers callback, or just waste memory? Or maybe make all arrays pointer-arrays? */ 432 433 size_t cbLeft = sizeof(pThis->szObjId); 433 #if 0 /** @todo breaks with arrays of ObjIds or structs containing them. They get resized and repositioned in memory, thus invalidating the pointer. Add recall-pointers callback, or just waste memory? Or maybe make all arrays pointer-arrays? */434 434 if (pSrc->cComponents * sizeof(uint32_t) <= cbLeft) 435 435 { -
trunk/src/VBox/Runtime/common/asn1/asn1-ut-string.cpp
r57358 r62448 518 518 while (i-- > 0) 519 519 { 520 uint32_t cchMatch ;520 uint32_t cchMatch = 0; /* (MSC maybe used uninitialized) */ 521 521 PCRTISO2022MAP pMap = papMaps[i]; 522 522 /** @todo skip non-Teletex codesets if we ever add more than we need for it. */ … … 530 530 return cchMatch + 1; 531 531 } 532 else if (!ppMapRet) /* ppMapRet is NULL if Gn. */ 532 533 if (!ppMapRet) /* ppMapRet is NULL if Gn. */ 533 534 { 534 535 uint32_t iGn; … … 1033 1034 if (RT_SUCCESS(rc)) 1034 1035 { 1035 size_t cchUtf8 = 0;1036 1036 for (;;) 1037 1037 {
Note:
See TracChangeset
for help on using the changeset viewer.