Mercurial > hg
diff doc/README @ 38198:3c84493556db stable
chg: fix an undefined behavior about memcpy
Spot by Wez Furlong. `memcpy(x, NULL, 0)` is undefined according to [1].
[1]: https://stackoverflow.com/questions/5243012
Differential Revision: https://phab.mercurial-scm.org/D3698
author | Jun Wu <quark@fb.com> |
---|---|
date | Wed, 06 Jun 2018 12:53:26 -0700 |
parents | 3516a4e877c1 |
children |