Commit f0a57bd3 authored by Nick Mathewson's avatar Nick Mathewson 🤹
Browse files

Make compilation of tor_memdup_nulterm() with dmalloc

Fixes bug 11605; bugfix on 0.2.4.10-alpha.
parent 9e44df2c
Loading
Loading
Loading
Loading

changes/bug11605

0 → 100644
+2 −0
Original line number Diff line number Diff line
  o Minor bugfixes (dmalloc):
    - Fix compilation with dmalloc. Fixes bug 11605; bugfix on 0.2.4.10-alpha.
+1 −1
Original line number Diff line number Diff line
@@ -284,7 +284,7 @@ tor_memdup_(const void *mem, size_t len DMALLOC_PARAMS)
/** As tor_memdup(), but add an extra 0 byte at the end of the resulting
 * memory. */
void *
tor_memdup_nulterm(const void *mem, size_t len DMALLOC_PARAMS)
tor_memdup_nulterm_(const void *mem, size_t len DMALLOC_PARAMS)
{
  char *dup;
  tor_assert(len < SIZE_T_CEILING+1);