Spot by Wez Furlong. memcpy(x, NULL, 0) is undefined according to [1].
Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHG3c84493556db: chg: fix an undefined behavior about memcpy
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.