- Timestamp:
- Jun 6, 2018 12:23:08 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Storage/CUE.cpp
r72293 r72455 566 566 pToken->Type.String.psz = pTokenizer->pszInput; 567 567 568 while (cueTokenizerGetCh(pTokenizer) != '\"') 568 while ( !cueTokenizerIsEos(pTokenizer) 569 && cueTokenizerGetCh(pTokenizer) != '\"') 569 570 { 570 571 cchStr++; … … 572 573 } 573 574 574 cueTokenizerSkipCh(pTokenizer); /* Skip closing " */ 575 576 pToken->Type.String.cch = cchStr; 575 /* End of stream without a closing quote is an error. */ 576 if (RT_UNLIKELY(cueTokenizerIsEos(pTokenizer))) 577 pToken->enmType = CUETOKENTYPE_ERROR; 578 else 579 { 580 cueTokenizerSkipCh(pTokenizer); /* Skip closing " */ 581 pToken->Type.String.cch = cchStr; 582 } 577 583 } 578 584
Note:
See TracChangeset
for help on using the changeset viewer.