Technical article 115282

I get the error "tput: symbol not found: strlcpy" after installing SSE072B.

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5OpenServer 5.0.6

Written · Last revised

Problem

After installing the System Security Enhancement SSE072B on my OpenServer 5 system, I receive the following error upon logging in:

dynamic linker: tput: symbol not found: strlcpy
On terminals where I am usually prompted to specify the terminal
type, I am no longer prompted and the correct terminal type is not
set.

This problem does not happen on OpenServer 5.0.6 with RS506A installed.

Cause

SSE072B contains a replacement /usr/bin/tput binary to fix a
buffer overflow.  The replacement version utilizes the "strlcpy"
function, which is only available in the standard shared C library
starting in 5.0.6 with RS506A installed.  When this function,
which does not exist on these pre-RS506A systems, is called,
tput exits and therefore cannot complete its task successfully.

Solution

This problem is fixed by SSE072C.
You can download SSE072C from:
ftp://stage.sco.com/pub/security/sse/sse072c

You do not need to remove previous versions of SSE072 before installing SSE072C.

NOTE:     Although a buffer overflow has been found in the tput binary, this
          utility is not a setuid binary, and hence no security threat is
          posed by this buffer overflow.  Nevertheless, the buffer overflow
          in tput has been addressed in SSE072C.

See also

ta113723, "What is SSE072C, the buffer overflow security patch for Openserver 5?"

From the Xinuos technical article database, record 115282. Reproduced with permission. The original is at www.sco.com/ta/115282, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.