Skip to content

Tags

Tags

v5.5.1

Toggle v5.5.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Reject malformed Base64 inputs and prevent buffer overrun when decodi…

…ng. (#752)

- `GTLRDecodeWebSafeBase64` allows unpadded strings, which previously let inputs
with a 1-character final group (`length % 4 == 1`) reach the decode loop where
the first output byte of each group is written unconditionally, overrunning the
`NSMutableData` buffer by one byte and reading the C-string NUL terminator.

- When `=` padding is present in optional-padding mode, total length must still
be a multiple of 4 so partially padded or `=`-only strings are rejected rather
than stripped into invalid or empty payloads.

- Reject strings containing embedded NUL bytes instead of silently truncating at
`strlen`, compute `outputLength` without `inputLength * 3` overflow on 32-bit
targets, and exclude the string literal NUL terminator when populating
`decodingTable`.

v5.5.0

Toggle v5.5.0's commit message
Version bump for a release

v5.4.0

Toggle v5.4.0's commit message
Version bump for a release.

v5.3.0

Toggle v5.3.0's commit message
Version bump for a release

v5.2.0

Toggle v5.2.0's commit message
Update version for a release.

v5.1.0

Toggle v5.1.0's commit message
Version bump for a release

v5.0.0

Toggle v5.0.0's commit message
Version bump to prepare for a release.

Will be a major version bump to cover both the changes to some of the min OS
versions. There are no api changes to the runtime library itself.

v4.2.0

Toggle v4.2.0's commit message
Version bump for a release

v4.1.0

Toggle v4.1.0's commit message
version bump for a release

v4.0.0

Toggle v4.0.0's commit message
Bring back iOS 12 support.

Firebase's Package.swift still has iOS 12, so GTMSessionFetcher is bring it back
so align here also.