Skip to content

Array index past end of array in NSData+Base64 #96

@newacct

Description

@newacct

In NSData+Base64.m, in the initWithBase64EncodedString: method, the inbuf array is declared with size 3, yet it is indexed with indexes 0 thru 3, which is a buffer overflow. Curiously, the outbuf array is declared with size 4, yet is indexed with indexes 0 thru 2. Perhaps their sizes are switched.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions