NetBSD Problem Report #1771
From gnats Fri Nov 17 00:55:08 1995
Received: from musings.com by pain.lcs.mit.edu (8.6.12/8.6.9) with SMTP id AAA19370 for <gnats-bugs@gnats.netbsd.org>; Fri, 17 Nov 1995 00:35:37 -0500
Message-Id: <9511170535.AA06350@musings.com>
Date: Thu, 16 Nov 1995 21:35:28 -0800
From: bwalker@musings.com
Reply-To: bwalker@musings.com
To: gnats-bugs@gnats.netbsd.org
Subject: problem w/ KIOCGETKEY ioctl in sparc/dev/kbd.c
X-Send-Pr-Version: 3.95
>Number: 1771
>Category: port-sparc
>Synopsis: problem w/ KIOCGETKEY ioctl in sparc/dev/kbd.c
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: port-sparc-maintainer
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Nov 17 01:05:02 +0000 1995
>Closed-Date: Mon Mar 13 13:57:46 +0000 2000
>Last-Modified: Mon Mar 13 14:18:29 +0000 2000
>Originator: Brad Walker
>Release: gnats-3.95
>Organization:
Digital Musings, Inc.
>Environment:
NetBSD netbsd 1.0A NetBSD 1.0A (SUN4C) #0
>Description:
the following truncates the top byte of HOLE
((struct okiockey *)data)->kio_entry = (u_char)HOLE;
HOLE is defined value that is greater than a u_char
which is what kio_entry is.
>How-To-Repeat:
>Fix:
typecast the value of HOLE or change the value of kio_entry
in struct okiockey
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed
State-Changed-By: pk
State-Changed-When: Fri Jan 5 08:19:06 EST 1996
State-Changed-Why:
This seems to be a goof on the X11 server's part. I guess the value HOLE
was never intended to be passed back in the `okiockey' structure.
Changing kio_entry is out of the question since the sole reason it's there
is to provide binary compatibility.
Responsible-Changed-From-To: gnats-admin->port-sparc-maintainer
Responsible-Changed-By: fair
Responsible-Changed-When: Mon Dec 28 09:29:50 PST 1998
Responsible-Changed-Why:
This PR is the responsibility of the portmaster,
not the GNATS database administrator.
State-Changed-From-To: analyzed->closed
State-Changed-By: pk
State-Changed-When: Mon Mar 13 05:57:46 PST 2000
State-Changed-Why:
This problem has been eliminated in NetBSD 1.3
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.