Source-Changes archive

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

CVS commit: [netbsd-9] src/lib/libcurses



Module Name:    src
Committed By:   martin
Date:           Tue Jul 14 13:37:18 UTC 2020

Modified Files:
        src/lib/libcurses [netbsd-9]: newwin.c

Log Message:
Pull up following revision(s) (requested by uwe in ticket #1004):

        lib/libcurses/newwin.c: revision 1.58

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.57.2.1 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