Skip to content

The static TBXML helper methods to get name/text/values out of elements will crash if you pass a nil element.#14

Closed
mmacdermaid wants to merge 1 commit intocodebots-ltd:masterfrom
MediaMath:master
Closed

The static TBXML helper methods to get name/text/values out of elements will crash if you pass a nil element.#14
mmacdermaid wants to merge 1 commit intocodebots-ltd:masterfrom
MediaMath:master

Conversation

@mmacdermaid
Copy link

Added nil checks for [TBXML elementName:], [TBXML attributeName:], [TBXML attributeValue:], and [TBXML textForElement:], if you pass in nil you will receive an EXC_BAD_ACCESS instead of returning empty string.

…BXML attributeValue:], and [TBXML textForElement:], if you pass in nil you will receive an EXC_BAD_ACCESS instead of returning emptystring
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.

1 participant

Comments