[RTEMS Project] #3772: missaligned pointer dereference in cpukit/libnetworking/libc/res_query.c:131

RTEMS trac trac at rtems.org
Thu Jul 25 20:00:43 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/legacy             |     Version:  4.11
 Severity:  normal                     |  Resolution:
 Keywords:  missaligned libnetworking  |  Blocked By:
 Blocking:                             |
---------------------------------------+---------------------

Comment (by Joel Sherrill):

 Per
 https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/hb/nios2/n2cpu_nii51016.pdf
 it looks like the stack only requires 32-bit alignment. If RTEMS meets
 that, then the only solution is to somehow properly align the buffer.

--
Ticket URL: <http://devel.rtems.org/ticket/3772#comment:6>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list