#3050 assigned defect

Buffer Overflow in pc386 Video Driver

Reported by: Joel Sherrill Owned by: Pavel Pisa
Priority: normal Milestone:
Component: bsps Version: 5
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

./../../../../../../../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.

Attachments (1)

0001-i386-pc386-VESA-fb-copy-the-length-of-VBE-signature-.patch (1.3 KB) - added by Pavel Pisa on Jun 15, 2017 at 6:24:51 PM.
Patch prepared by Jan Dolezal to solve the warning/problem.

Download all attachments as: .zip

Change History (3)

comment:1 Changed on Jun 14, 2017 at 2:32:27 PM by Joel Sherrill

Owner: changed from joel.sherrill@… to Pavel Pisa
Status: newassigned

Changed on Jun 15, 2017 at 6:24:51 PM by Pavel Pisa

Patch prepared by Jan Dolezal to solve the warning/problem.

comment:2 Changed on Jun 15, 2017 at 6:26:18 PM by Pavel Pisa

I have send question to Jan Dolezal and he prepared patch. I can commit it but not test till month end.

Note: See TracTickets for help on using tickets.