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 into
nodegit: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 into
nodegit:masterfrom
tylerchurch:fix-strdup-crash

Add some comments explaining the switch between strdup and malloc/mem…

c866391
Select commit
Loading
Failed to load commit list.

Workflow runs completed with no jobs