Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS 5 CFI Assertion Parse Fix #19

Closed
wants to merge 8 commits into from
Closed

Conversation

matwood
Copy link
Contributor

@matwood matwood commented Sep 19, 2013

The stream.ignore appears broken on the iOS 5 c++stdlib and moves past the end of the stream when ignoring up to the closing bracket. iss.eof() ends up set to true.

Changing it to a loop fixes the issue for iOS5 and still works correctly on iOS6. I don't usually code in c++ so if there is a more idiomatic way to fix the issue please let me know.

matwood and others added 2 commits September 11, 2013 12:35
Pull latest readium master into our fork.
…aced ignore

  with a loop to accomplish the same task.
@bluefirepatrick
Copy link
Member

Hi Michael,

Thank you for the information. We will take a look at that branch.

Patrick

From: Michael Atwood <notifications@github.hscsec.cnmailto:notifications@github.com>
Reply-To: readium/readium-sdk <reply@reply.github.hscsec.cnmailto:reply@reply.github.com>
Date: Thursday, September 19, 2013 1:09 PM
To: readium/readium-sdk <readium-sdk@noreply.github.hscsec.cnmailto:readium-sdk@noreply.github.com>
Subject: [readium-sdk] iOS 5 CFI Assertion Parse Fix (#19)

The stream.ignore appears broken on the iOS 5 c++stdlib and moves past the end of the stream when ignoring up to the closing bracket. iss.eof() ends up set to true.

Changing it to a loop fixes the issue for iOS5 and still works correctly on iOS6. I don't usually code in c++ so if there is a more idiomatic way to fix the issue please let me know.


You can merge this Pull Request by running

git pull https://github.com/bibliolabs/readium-sdk master

Or view, comment on, or merge it at:

#19

Commit Summary

  • Merge pull request help me #1 from readium/master
  • * The ignore function returns eof() past the delimiter on ios 5. Replaced ignore

File Changes

Patch Links:

@rkwright
Copy link
Member

This issue is ancient and we do not support iOS5 (nor does APple, so am going to close this issue. If similar problems are encountered please open a new issue and we will investigate.

@rkwright rkwright closed this Sep 21, 2014
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.

4 participants