{"push_id":2687166808,"size":2,"distinct_size":2,"ref":"refs/heads/feature/fix-out-of-range-access","head":"764d70a4870c1056a6d8ae2e10c5de209c8a57b1","before":"ac0c2ca4ea9c05af81e1cb87f466401bda647bf8","commits":[{"sha":"d1597a0e3e08d295fbf2a8a407660b089eb7f08d","author":{"name":"Valera","email":"256856de0413aef01b3b2505524b52479b0af1aa@gmail.com"},"message":"Fix iCCP profile using mogrify (#18908)","distinct":true,"url":"https://api.github.com/repos/tyfkda/cocos2d-x/commits/d1597a0e3e08d295fbf2a8a407660b089eb7f08d"},{"sha":"764d70a4870c1056a6d8ae2e10c5de209c8a57b1","author":{"name":"tyfkda","email":"335893ebe78c6b57f3c1d86917325618856a6a97@gmail.com"},"message":"Fix out of range access in Label\n\nOut of range occurred in some condition\nwhen using `Label` with its `getLetter()` member function.\n\n`Label::recordPlaceholderInfo()` member function is called for\nnew line (\\n) letter in `Label::multilineTextWrap()`,\nbut the function doesn't set `_lettersInfo[letterIndex].lineIndex`.\n\nBut `lineIndex` is used in `Label::updateLabelLetters()`\neven if letter is new line.\n\nThis change checks `letterInfo.valid` to avoid\naccessing `_linesOffsetX[letterInfo.lineIndex]`\nfor invalid (i.e. `NewLine`) letter.","distinct":true,"url":"https://api.github.com/repos/tyfkda/cocos2d-x/commits/764d70a4870c1056a6d8ae2e10c5de209c8a57b1"}]}
{"actor":{"display_login":"tyfkda"}}