[RTEMS Project] #3050: Buffer Overflow in pc386 Video Driver

RTEMS trac trac at rtems.org
Wed Jun 14 14:32:10 UTC 2017


#3050: Buffer Overflow in pc386 Video Driver
---------------------------+-----------------------------
 Reporter:  Joel Sherrill  |      Owner:  joel.sherrill@…
     Type:  defect         |     Status:  new
 Priority:  normal         |  Milestone:
Component:  bsps           |    Version:  4.12
 Severity:  normal         |   Keywords:
---------------------------+-----------------------------
 ./../../../../../../../rtems/c/src/lib/libbsp/i386/pc386/console/fb_vesa_rm.c:117:9:
 warning: 'strncpy' writing 16 bytes into a region of size 4 overflows the
 destination [-Wstringop-overflow=]

 Looking at the code, it looks suspicious. Passing to Pavel for some
 insight.

--
Ticket URL: <http://devel.rtems.org/ticket/3050>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list