These buffers should not overlap.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
memmove -> memcpy is the right thing because sn and cddata->sn can't possibly overlap.
| sys/dev/nvme/nvme.h | ||
|---|---|---|
| 31–32 | This is OBE. I committed, without review, this change earlier today. I had missed this review until I was doing a deep-dive into my unread email. mea culpa. | |
| sys/dev/nvme/nvme.h | ||
|---|---|---|
| 31–32 | No worries. | |