From d113f8eb2c067aedc8832ef7815b13d88620489c Mon Sep 17 00:00:00 2001 From: kcwu Date: Sat, 19 Mar 2005 13:04:10 +0000 Subject: comment on bad code git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2661 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/io.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mbbsd/io.c b/mbbsd/io.c index e10259ec..fde21d3b 100644 --- a/mbbsd/io.c +++ b/mbbsd/io.c @@ -257,6 +257,7 @@ igetch(void) int oldroll = roll; int y, x, my_newfd; + // FIXME reveal heap data or crash if screen resize getyx(&y, &x); screen0=malloc(screen_backupsize(t_lines, big_picture)); screen_backup(t_lines, big_picture, screen0); -- cgit v1.2.3