[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [netbsd-5] src/lib/libcurses
Module Name: src
Committed By: bouyer
Date: Sun Sep 30 17:52:06 UTC 2012
src/lib/libcurses [netbsd-5]: get_wch.c
Pull up following revision(s) (requested by blymn in ticket #1791):
lib/libcurses/get_wch.c: revision 1.10
* Size argument for memset when clearing cbuf was wrong, cbuf is an array
of char not int so memset was stomping memory past the end of the array.
Use sizeof properly to correctly determine the amount of memory to clear.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r220.127.116.11 src/lib/libcurses/get_wch.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |