seL4_projects_libs icon indicating copy to clipboard operation
seL4_projects_libs copied to clipboard

vmmplatsupport: Fix issue with unaligned writes

Open kent-mcleod opened this issue 9 months ago • 1 comments

strncpy was generating unaligned writes if the str length was not alligned. Because the source memory passed into the function's length isn't known, we copy via an alligned stack buffer to avoid an unaligned write to uncached memory.

kent-mcleod avatar Mar 10 '25 09:03 kent-mcleod

@kent-mcleod shall we merge this and make an issue for the TODO above?

lsf37 avatar Apr 01 '25 02:04 lsf37

Have merged this now to unblock the web server test.

lsf37 avatar May 26 '25 07:05 lsf37