Bugzilla – Bug 130145
Buffer overflow in "cal"
Last modified: 2005-10-22 19:00:23 UTC
cal command from util-linux-2.12q package. # cal 2006 Libsafe version 2.0.16 Detected an attempt to write across stack boundary. Terminating /usr/bin/cal. uid=0 euid=0 pid=3305 Call stack: 0x40019945 /lib/libsafe.so.2.0.16 0x4001ad60 /lib/libsafe.so.2.0.16 0x804a08c /usr/bin/cal 0x804a363 /usr/bin/cal 0x400b4e9b /lib/tls/libc-2.3.5.so Overflow caused by wcscat() Killed
"cal" from util-linux-2.12q fixes the buffer overflow.
SUSE LINUX 10.0 has util-linux-2.12q
Created attachment 55159 [details] I reported the wrong fix My mistake, the bug is actually fixed with cal from util-linux-2.12r