1. 17 Apr, 2016 1 commit
    • Matthieu Boutier's avatar
      Fix route->channels double-free corruption. · ab66a56a
      Matthieu Boutier authored
      The code assumes that route->channels is NULL when route->channels_len
      is 0, such that free(route->channels) will work.
      
      Think about this scenario:
        update(r, some channels)  # route->channels = malloc(…)
        update(r, no channel)  # free(route->channels)
        update(r, no channel)  # free(route->channels)
      
      Thanks to Dave Taht for pointing the issue.
      ab66a56a
  2. 15 Apr, 2016 1 commit
    • Matthieu Boutier's avatar
      Fix bug allowing the comparison of v4 and v6 prefixes. · e687a58f
      Matthieu Boutier authored
      When the v6 prefix is ::/0, then it is considered as less specific than
      any v4-mapped prefix.
      
      Remark that "no source prefix" is encoded by "src_plen == 0".  This
      might be an issue, since "src_plen == 0" means ::/0, a v6 prefix.  So
      the route (1.1.1.1/32 from 0.0.0.0/0) is internally represented by
      (1.1.1.1/32 from ::/0).  When compared with  (::/0 from 2001:db8::/32),
      the two source prefixes are comparable.  This is not a problem in
      practice, since 2 pairs of prefixes are disjoint whether the dst
      prefixes or the src prefixes are disjoint.
      e687a58f
  3. 08 Apr, 2016 1 commit
  4. 24 Mar, 2016 3 commits
  5. 23 Mar, 2016 1 commit
  6. 14 Mar, 2016 1 commit
  7. 17 Feb, 2016 1 commit
  8. 16 Feb, 2016 1 commit
  9. 14 Feb, 2016 5 commits
  10. 13 Feb, 2016 4 commits
  11. 12 Feb, 2016 9 commits
  12. 11 Feb, 2016 8 commits
  13. 10 Feb, 2016 4 commits