[RTEMS Project] #3772: missaligned pointer dereference in cpukit/libnetworking/libc/res_query.c:131
RTEMS trac
trac at rtems.org
Thu Jul 25 00:27:27 UTC 2019
#3772: missaligned pointer dereference in
cpukit/libnetworking/libc/res_query.c:131
---------------------------------------+---------------------
Reporter: Jeffrey Hill | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone:
Component: network/libbsd | Version: 4.11
Severity: normal | Resolution:
Keywords: missaligned libnetworking | Blocked By:
Blocking: |
---------------------------------------+---------------------
Comment (by Jeffrey Hill):
I suppose that if 4 bytes _is_ the correct alignment then buf could be
array of native words, as a less unsightly fix.
The harvard risc nios2 is passing parameters in registers so perhaps gcc
has less stringent stack alignment constraints?
--
Ticket URL: <http://devel.rtems.org/ticket/3772#comment:4>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list