Mercurial > hg
comparison CONTRIBUTING @ 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 | a492610a2fc1 |
children |
comparison
equal
deleted
inserted
replaced
38197:0a3ff7af24a9 | 38198:3c84493556db |
---|