Changeset 14a218f in rtems for cpukit

Timestamp:
08/21/18 15:32:48 (6 years ago)
Author:
Joel Sherrill <joel@…>
Branches:
5, master
Children:
c2e8ed6
Parents:
cba349c
git-author:
Joel Sherrill <joel@…> (08/21/18 15:32:48)
git-committer:
Joel Sherrill <joel@…> (08/29/18 17:52:08)
Message:

cpukit/telnetd/pty.c: Fix format overflow warning on sprintf()

cpukit/telnetd/pty.c:436:47: warning: '%X' directive writing between

1 and 8 bytes into a region of size 3 [-Wformat-overflow=]

The devname area was malloc'ed. Now it is statically allocated and
sufficiently large to account for the potential buffer overflow.

(No files)

Note: See TracChangeset for help on using the changeset viewer.