xxxAIRINxxx / ARNAlert

Wrapper of UIAlertView & UIAlertController
MIT License
12 stars 2 forks source link

Possible use-after-free #1

Closed uroboro closed 9 years ago

uroboro commented 9 years ago

An UIAlertView is created at ARNAlert.m#L229 but only a reference to self is saved at ARNAlert.m#L245. Given that the project requires ARC there's no guarantee that the alertView object will not be released at the end of - (void)showAlertView. It is potentially the reason why https://travis-ci.org/xxxAIRINxxx/ARNAlert doesn't succeed. Also the README.md has a typo in the example code.

xxxAIRINxxx commented 9 years ago

thank you issue! but I busy now... I will do later.