Skip to content

Serious memory corruption bug #4

@tpurtell

Description

@tpurtell

Encoding Base64 with this library inevitably results in hangs/crashes/etc.

This is not allocating enough space for the null terminator, you need to add one, like the original php code did.
https://github.com/mikeho/QSUtilities/blob/master/QSStrings.m#L159

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