diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2000-05-08 14:48:40 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2000-05-08 14:48:40 +0800 |
commit | 8c0626a6d8bc08da45f32ed28520c565634f641a (patch) | |
tree | d26ce0fcf9e7387bd967c4accc52969a429984c2 /japanese | |
parent | d4ecea372cf27be0ef946967f02ed0c79ac07b70 (diff) | |
download | freebsd-ports-gnome-8c0626a6d8bc08da45f32ed28520c565634f641a.tar.gz freebsd-ports-gnome-8c0626a6d8bc08da45f32ed28520c565634f641a.tar.zst freebsd-ports-gnome-8c0626a6d8bc08da45f32ed28520c565634f641a.zip |
Fix buffer overflow.
NOTE: kon is installed with root-setuid. Users are encouraged to update
this port.
Reported by: UNYUN <shadowpenguin@BACKSECTION.NET>
via: BUGTRAQ-JP List <BUGTRAQ-JP@SECURITYFOCUS.COM>
as: [SPSadvisory#36]Linux /usr/bin/kon buffer overflow
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/kon2-16dot/files/patch-be | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/japanese/kon2-16dot/files/patch-be b/japanese/kon2-16dot/files/patch-be new file mode 100644 index 000000000000..08419f20177f --- /dev/null +++ b/japanese/kon2-16dot/files/patch-be @@ -0,0 +1,11 @@ +--- src/mouse.c~ Mon Jan 27 20:40:27 1997 ++++ src/mouse.c Mon May 8 15:39:35 2000 +@@ -176,7 +176,7 @@ + + mouseType = MOUSE_NONE; + mInfo.has_mouse = FALSE; +- sscanf(config, "%s", name); ++ strncpy(name, config, MAX_COLS); + for (p = mice; p->name != NULL; p++) { + if (strcasecmp(name, p->name) == 0) { + mouseType = p->type; |