NetBSD-Bugs archive

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

PR/55484 CVS commit: src/lib/libcurses



The following reply was made to PR lib/55484; it has been noted by GNATS.

From: "Valeriy E. Ushakov" <uwe%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/55484 CVS commit: src/lib/libcurses
Date: Tue, 14 Jul 2020 04:39:39 +0000

 Module Name:	src
 Committed By:	uwe
 Date:		Tue Jul 14 04:39:39 UTC 2020
 
 Modified Files:
 	src/lib/libcurses: newwin.c
 
 Log Message:
 newwin - fix crash with negative ncols.
 
 When support for negative nrows/ncols was added, one s/ncols/maxx/ was
 missed so we ended up passing negative (i.e. huge unsigned) length
 when hashing the line contents.
 
 Reported by Naman Jain in PR lib/55484
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.57 -r1.58 src/lib/libcurses/newwin.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