Source-Changes archive

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

CVS commit: src/lib/libcurses

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.

Home | Main Index | Thread Index | Old Index