forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitac43da8
committed
MemSet() must not cast its pointer argument to int32* until after it has
checked that the pointer is actually word-aligned. Casting a non-alignedpointer to int32* is technically illegal per the C spec, and some recentversions of gcc actually generate bad code for the memset() when givensuch a pointer. Per report from Andrew Morrow.1 parentd0f312e commitac43da8
1 file changed
+5
-4
lines changedLines changed: 5 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
| 15 | + | |
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| |||
630 | 630 |
| |
631 | 631 |
| |
632 | 632 |
| |
633 |
| - | |
| 633 | + | |
634 | 634 |
| |
635 | 635 |
| |
636 | 636 |
| |
637 |
| - | |
| 637 | + | |
638 | 638 |
| |
639 | 639 |
| |
640 | 640 |
| |
641 | 641 |
| |
| 642 | + | |
642 | 643 |
| |
643 | 644 |
| |
644 | 645 |
| |
645 | 646 |
| |
646 | 647 |
| |
647 |
| - | |
| 648 | + | |
648 | 649 |
| |
649 | 650 |
| |
650 | 651 |
| |
|
0 commit comments
Comments
(0)