Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: crash on iOS18 by reversing enumeration #76

Closed
wants to merge 1 commit into from

Conversation

James-chok
Copy link

There is a crash on iOS18 because of NSRangeException NSMutableRLEArray replaceObjectsInRange:withObject:length:: Out of bounds, fixing by reversing enumeration.

e.g.:
<div></div><div></div><div><p>一級司機(替假/兼職)</p></div><div><p><li>小六程度、良好粵語、懂讀寫中文、略懂讀寫英文</li> <li>持有公共小型巴士駕駛執照及私家小型巴士駕駛執照</li> <li>具駕駛復康專車/復康小巴經驗優先</li> <li>負責駕駛復康巴、日常車輛清潔、保養和維修</li> <li>接送及護送服務使用者到指定地點、遞送機構文件及物資</li> <li>支援中心庶務及協助外勤工作</li> <li>熟悉區內環境設施;懂得簡單汽車維修優先</li> <li>取車地點︰元朗</li></p></div><div></div><div><div><p>有意者請將履歷、要求待遇、可到職日期及聯絡電話(必須註明職位編號)郵寄往屯門啟民徑18號仁愛堂賽馬會社區及體育中心7樓人力資源部收或電郵至******。</p></div></div><div><p>網上申請按此</p></div><div><div><p>*申請人所提供的資料將予以保密及只作招聘有關職位用途*</p></div></div><div></div>

@James-chok James-chok closed this Sep 20, 2024
@zhgchgli0718
Copy link
Member

Thank you for providing the solution. However, this solution only ensures that the system won’t crash, and some behaviors are still incorrect.

I have opened a new PR with a complete fix. Once again, thank you for the inspiration. #78

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants