29 Jun 2012 12:40
CVS commit: src/lib/libcurses
Brett Lymn <blymn <at> netbsd.org>
2012-06-29 10:40:29 GMT
2012-06-29 10:40:29 GMT
Module Name: src Committed By: blymn Date: Fri Jun 29 10:40:29 UTC 2012 Modified Files: src/lib/libcurses: get_wch.c Log Message: * 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.9 -r1.10 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.
RSS Feed