Skip to content
Snippets Groups Projects
  1. May 25, 2016
    • Nick Mathewson's avatar
    • Nick Mathewson's avatar
      Fix a pointer arithmetic bug in memarea_alloc() · be2d37ad
      Nick Mathewson authored
      Fortunately, the arithmetic cannot actually overflow, so long as we
      *always* check for the size of potentially hostile input before
      copying it.  I think we do, though.  We do check each line against
      MAX_LINE_LENGTH, and each object name or object against
      MAX_UNPARSED_OBJECT_SIZE, both of which are 128k.  So to get this
      overflow, we need to have our memarea allocated way way too high up
      in RAM, which most allocators won't actually do.
      
      Bugfix on 0.2.1.1-alpha, where memarea was introduced.
      
      Found by Guido Vranken.
      be2d37ad
  2. May 23, 2016
  3. May 20, 2016
    • Nick Mathewson's avatar
      Fix a bug related to moving signing_key_cert · 50cbf220
      Nick Mathewson authored
      Now that the field exists in signed_descriptor_t, we need to make
      sure we free it when we free a signed_descriptor_t, and we need to
      make sure that we don't free it when we convert a routerinfo_t to a
      signed_descriptor_t.
      
      But not in any released Tor. I found this while working on #19128.
      
      One problem: I don't see how this could cause 19128.
      50cbf220
  4. May 19, 2016
  5. May 18, 2016
  6. May 17, 2016
  7. May 16, 2016
  8. May 12, 2016
  9. May 11, 2016
Loading