Commit 0ceaa4c
authored
Fixed a crash on Swift 6.0+ where Integer deserialization was assuming aligned memory (#1190)
### Motivation: The integer deserializer was assuming that the input raw memory was correctly aligned for the integer type to be deserialized. In the test that was true on some platforms, but not others. This caused a crash in the unit test. ### Modifications: Use `loadUnaligned` instead of `load` when loading integers. ### Result: Fixes #1179.1 parent bcd8f8f commit 0ceaa4c
File tree
1 file changed
+1
-1
lines changed- Sources/DistributedCluster/Serialization
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
0 commit comments