bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tgoto(3) says col,row but it seems to be x,col?


From: Steffen Nurpmeso
Subject: Re: tgoto(3) says col,row but it seems to be x,col?
Date: Wed, 23 Mar 2016 23:53:37 +0100
User-agent: s-nail v14.8.6-171-gc05ee4b

Hello,

Thomas Dickey <address@hidden> wrote:
 |no problem (report bugs)

i'm nonetheless afraid it is starting to be a pain.. but in the
end the very test program (or a plain 'tgetent(NULL,
getenv("TERM"))') can be used on a current ArchLinux to trigger
the llvm memory sanitizer when compiled with "clang -O -g
-fsanitize=memory -o zt t.c -lcurses" (my $TERM is
screen.xterm-256color):

Uninitialized bytes in __interceptor_strlen at offset 0 inside [0x70400000efe0, 
24)
==13984==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x7f50df60c923  (/lib/libncursesw.so.6+0x3d923)
    #1 0x7f50df615d73  (/lib/libncursesw.so.6+0x46d73)
    #2 0x7f50df60f2e8  (/lib/libncursesw.so.6+0x402e8)
    #3 0x7f50df60f631  (/lib/libncursesw.so.6+0x40631)
    #4 0x7f50df60fb15  (/lib/libncursesw.so.6+0x40b15)
    #5 0x55a32d9dfe44  (/tmp/zt+0x83e44)
    #6 0x7f50de70a70f  (/lib/libc.so.6+0x2070f)
    #7 0x55a32d974e78  (/tmp/zt+0x18e78)

SUMMARY: MemorySanitizer: use-of-uninitialized-value 
(/lib/libncursesw.so.6+0x3d923)
Exiting

--steffen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]