NetBSD-Bugs archive

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

Re: PR/45370 CVS commit: src/lib/libterminfo



hi, chirostos.

your modification may lose following case:

  tgetstr("", &area);


that's why i used strlcpy(3) in my patch.

very truly yours.
--
Takehiko NOZAKI <tnozaki%NetBSD.org@localhost>

2011/9/17 Christos Zoulas <christos%netbsd.org@localhost>:
> The following reply was made to PR lib/45370; it has been noted by GNATS.
>
> From: "Christos Zoulas" <christos%netbsd.org@localhost>
> To: gnats-bugs%gnats.NetBSD.org@localhost
> Cc:
> Subject: PR/45370 CVS commit: src/lib/libterminfo
> Date: Fri, 16 Sep 2011 14:51:44 -0400
>
>  Module Name:   src
>  Committed By:  christos
>  Date:          Fri Sep 16 18:51:44 UTC 2011
>
>  Modified Files:
>        src/lib/libterminfo: termcap.c
>
>  Log Message:
>  PR/45370: Takehiko NOZAKI: termcap emulation tget{flag,num,str} should
>  work with non-NUL terminated strings.
>
>
>  To generate a diff of this commit:
>  cvs rdiff -u -r1.14 -r1.15 src/lib/libterminfo/termcap.c
>
>  Please note that diffs are not public domain; they are subject to the
>  copyright notices on the relevant files.
>
>


Home | Main Index | Thread Index | Old Index