- Notifications
You must be signed in to change notification settings - Fork5
Commitad520ec
committed
Use memmove() not memcpy() to slide some pointers down.
The previous coding here was formally undefined, though it seems toaccidentally work on most platforms in the buildfarm. Caught by someOpenBSD platforms in which libc contains an assertion check foroverlapping areas passed to memcpy().Thomas Munro1 parent4c804fb commitad520ec
1 file changed
+6
-6
lines changedLines changed: 6 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
554 | 554 |
| |
555 | 555 |
| |
556 | 556 |
| |
557 |
| - | |
558 |
| - | |
| 557 | + | |
| 558 | + | |
559 | 559 |
| |
560 | 560 |
| |
561 | 561 |
| |
| |||
582 | 582 |
| |
583 | 583 |
| |
584 | 584 |
| |
585 |
| - | |
586 |
| - | |
| 585 | + | |
| 586 | + | |
587 | 587 |
| |
588 | 588 |
| |
589 | 589 |
| |
| |||
614 | 614 |
| |
615 | 615 |
| |
616 | 616 |
| |
617 |
| - | |
618 |
| - | |
| 617 | + | |
| 618 | + | |
619 | 619 |
| |
620 | 620 |
| |
621 | 621 |
| |
|
0 commit comments
Comments
(0)