libbacktrace: correct memory lengths in Mach-O dsym support
authorIan Lance Taylor <iant@golang.org>
Tue, 8 Sep 2020 21:50:32 +0000 (14:50 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 8 Sep 2020 21:51:32 +0000 (14:51 -0700)
commita8a7a97b4e62195f9f538bed37177af171e75b8b
tree5ea1544121076b286e1dd1bb4f4cb46e42c634eb
parent8183ebcdc1c843f15c807e5bc26dbafe4e8c4dc3
libbacktrace: correct memory lengths in Mach-O dsym support

* macho.c (macho_add_dsym): Make space for '/' in dsym.  Use
correct length when freeing diralc.
libbacktrace/macho.c