Skip to content

Switch from strdup to memcpy to faithfully copy all bytes and prevent a crash in some cases.#966

Merged
johnhaley81 merged 2 commits intonodegit:masterfrom
tylerchurch:fix-strdup-crash
Mar 24, 2016
Merged

Switch from strdup to memcpy to faithfully copy all bytes and prevent a crash in some cases.#966
johnhaley81 merged 2 commits intonodegit:masterfrom
tylerchurch:fix-strdup-crash