Skip to content
  • Nick Mathewson's avatar
    Convert instances of tor_malloc+tor_snprintf into tor_asprintf · 9c29369a
    Nick Mathewson authored
    These were found by looking for tor_snprintf() instances that were
    preceeded closely by tor_malloc(), though I probably converted some
    more snprintfs as well.
    
    (In every case, make sure that the length variable (if any) is
    removed, renamed, or lowered, so that anything else that might have
    assumed a longer buffer doesn't exist.)
    9c29369a