TIP: Click on subject to list as thread! ANSI
echo: sync_programming
to: Git commit to main/sbbs/m
from: Rob Swindell (on ChromeOS
date: 2023-06-11 14:33:00
subject: src/sbbs3/ars.c

https://gitlab.synchro.net/main/sbbs/-/commit/f9acb79dec8930f45cd3d2dc
Modified Files:
	src/sbbs3/ars.c
Log Message:
Fix unaligned memory accesses as reported by ASane.g. runtime error: store to misaligned address 0x7ffec33195e3 for type'short int', which requires 2 byte alignmentThese aren't a problem for x86, but could be a problem for some other CPUarchitectures that don't support unaligned access. I didn't use memcpy() toresolve this (though that would've worked) to make this change endian agnostic.
--- SBBSecho 3.20-Linux
                                             
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.