LyX 2.3.4 is Released

Pavel Sanda sanda at
Thu Feb 6 11:59:53 UTC 2020

On Wed, Feb 05, 2020 at 06:52:29PM +0100, Jean-Pierre Chrétien wrote:
> Le 31/01/2020 ? 20:46, Richard Kimberly Heck a écrit :
> >Public release of LyX version 2.3.4
> >===================================
> >
> >We are proud to announce the release of LyX 2.3.4. This is the fourth
> >maintenance release in the 2.3.x series.
> I got a working LyX installation where the 4 UserGuides compile fine, but I
> had a warning during compilation:
> <cite>
> 1.2.5/mythes.cxx: In member function ?int MyThes::Lookup(const char*, int,
> mentry**)?:
> 1.2.5/mythes.cxx:247:25: warning: ?char* strncpy(char*, const char*,
> size_t)? specified bound depends on the length of the source argument
> [-Wstringop-overflow=]
>                   strncpy(dfn,pos,k);
>                   ~~~~~~~^~~~~~~~~~~
> 1.2.5/mythes.cxx:244:27: note: length computed here
>              int k = strlen(pos);
> </cite>

I looked at the code and the buffer length seems properly handled in the reported
line (247) by the previous if clause.
What is not clear to me are two following lines, which add m+1 chars while the
check seem to properly handle only m chars and leaving no place for the final' \0'.
Anyone else can confirm?


More information about the lyx-devel mailing list