1. 29 Jun, 2016 2 commits
    • Thomas Van Lenten's avatar
      Xcode project cleanup/setup. · 6cfc19ed
      Thomas Van Lenten authored
      - Correct some cases sources were compiled into the static lib and the tests.
      - Enable Xcodes code coverage support on the unittests.  We aren't complete on
        coverage, but having the data always there should make it easier to chip away
        at this going forward.
      - Drop method in tests that isn't used, wire up a validator in another test.
      6cfc19ed
    • Thomas Van Lenten's avatar
      Validate the tag numbers when parsing. (#1725) · c18aa779
      Thomas Van Lenten authored
      There was a twist code path (that some times showed up due to what happened to
      be in memory in failure cases), that would cast a bogus wire type into the
      enum, and then fall through switch statements.
      
      Resolve this by validating all wire types when parsing tags and throwing the
      error at that point so it can't enter the system.
      
      As added safety, stick in a few asserts for apis that get passed tags to ensure
      they also are only seeing valid data.
      
      Bonus: Tweak the parsing loop to skip some work when we get the end marker
      (zero tag) instead of still looping through all the fields.
      c18aa779
  2. 28 Jun, 2016 4 commits
  3. 27 Jun, 2016 2 commits
  4. 26 Jun, 2016 1 commit
  5. 23 Jun, 2016 4 commits
  6. 22 Jun, 2016 3 commits
  7. 21 Jun, 2016 3 commits
  8. 20 Jun, 2016 1 commit
  9. 17 Jun, 2016 4 commits
  10. 16 Jun, 2016 8 commits
  11. 15 Jun, 2016 2 commits
  12. 14 Jun, 2016 2 commits
  13. 10 Jun, 2016 4 commits