~ubuntu-branches/ubuntu/gutsy/vnc4/gutsy

« back to all changes in this revision

Viewing changes to unix/xc/programs/Xserver/Xi/getmmap.h

  • Committer: Bazaar Package Importer
  • Author(s): Ola Lundqvist
  • Date: 2006-05-15 20:35:17 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060515203517-l4lre1ku942mn26k
Tags: 4.1.1+X4.3.0-10
* Correction of critical security issue. Thanks to Martin Kogler
  <e9925248@student.tuwien.ac.at> that informed me about the issue,
  and provided the patch.
  This flaw was originally found by Steve Wiseman of intelliadmin.com.
* Applied patch from Javier Kohen <jkohen@users.sourceforge.net> that
  inform the user that only 8 first characters of the password will
  actually be used when typing more than 8 characters, closes:
  #355619.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $XFree86: xc/programs/Xserver/Xi/getmmap.h,v 3.1 1996/04/15 11:18:42 dawes Exp $ */
 
2
/************************************************************
 
3
 
 
4
Copyright 1996 by Thomas E. Dickey <dickey@clark.net>
 
5
 
 
6
                        All Rights Reserved
 
7
 
 
8
Permission to use, copy, modify, and distribute this software and its
 
9
documentation for any purpose and without fee is hereby granted,
 
10
provided that the above copyright notice appear in all copies and that
 
11
both that copyright notice and this permission notice appear in
 
12
supporting documentation, and that the name of the above listed
 
13
copyright holder(s) not be used in advertising or publicity pertaining
 
14
to distribution of the software without specific, written prior
 
15
permission.
 
16
 
 
17
THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD
 
18
TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
 
19
AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE
 
20
LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
 
21
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
 
22
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 
23
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
24
 
 
25
********************************************************/
 
26
 
 
27
#ifndef GETMMAP_H
 
28
#define GETMMAP_H 1
 
29
 
 
30
int
 
31
SProcXGetDeviceModifierMapping(
 
32
#if NeedFunctionPrototypes
 
33
        ClientPtr              /* client */
 
34
#endif
 
35
        );
 
36
 
 
37
int
 
38
ProcXGetDeviceModifierMapping(
 
39
#if NeedFunctionPrototypes
 
40
        ClientPtr              /* client */
 
41
#endif
 
42
        );
 
43
 
 
44
void
 
45
SRepXGetDeviceModifierMapping (
 
46
#if NeedFunctionPrototypes
 
47
        ClientPtr              /* client */,
 
48
        int                    /* size */,
 
49
        xGetDeviceModifierMappingReply * /* rep */
 
50
#endif
 
51
        );
 
52
 
 
53
#endif /* GETMMAP_H */