[rtems-libbsd commit] freebsd/nfsv4: Fix misaligned 64bit user dirent write

Chris Johns chrisj at rtems.org
Mon Jun 20 07:44:50 UTC 2022


On 20/6/22 4:14 pm, Sebastian Huber wrote:
> On 20/06/2022 04:57, Chris Johns wrote:
>> Module:    rtems-libbsd
>> Branch:    6-freebsd-12
>> Commit:    c56a34f54767decf3e398651c30bea9ebbd9572a
>> Changeset:http://git.rtems.org/rtems-libbsd/commit/?id=c56a34f54767decf3e398651c30bea9ebbd9572a
>>
>>
>> Author:    Chris Johns<chrisj at rtems.org>
>> Date:      Mon Jun 20 12:44:41 2022 +1000
>>
>> freebsd/nfsv4: Fix misaligned 64bit user dirent write
> 
> The tl2 is a pointer to uint32_t. On which platform did this case a problem?
> Platforms should support misaligned load/store operations to normal memory.

Ah OK and thanks. It may be the cookie access. I will have to look again. The
exe it LTO optimized without rtems or libbsd having fat object files. The one
change fixed stopped the crash but I will take a close look.

Chris


More information about the devel mailing list