pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/52293 CVS commit: src/lib/libterminfo
The following reply was made to PR pkg/52293; it has been noted by GNATS.
From: "Roy Marples" <roy%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/52293 CVS commit: src/lib/libterminfo
Date: Sun, 21 Jun 2020 15:05:23 +0000
Module Name: src
Committed By: roy
Date: Sun Jun 21 15:05:23 UTC 2020
Modified Files:
src/lib/libterminfo: compile.c term_private.h
Log Message:
libterminfo: cast to uint16/32_t before conversion to preserve negativity
Otherwise the ABSENT_NUMERIC(-1) or CANCELLED_NUMERIC(-2) will be converted
incorrectly to size_t and then down to uint16/32_t.
Picked up by DIAGNOSTIC builds.
Thanks to Michael Forney for the fix for PR lib/52293.
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/lib/libterminfo/compile.c
cvs rdiff -u -r1.18 -r1.19 src/lib/libterminfo/term_private.h
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