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

« back to all changes in this revision

Viewing changes to unix/xc/programs/Xserver/miext/layer/laymodule.c

  • 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
/*
 
2
 * $XFree86: xc/programs/Xserver/miext/layer/laymodule.c,v 1.1 2002/11/08 22:19:55 keithp Exp $
 
3
 *
 
4
 * Copyright � 2000 Keith Packard
 
5
 *
 
6
 * Permission to use, copy, modify, distribute, and sell this software and its
 
7
 * documentation for any purpose is hereby granted without fee, provided that
 
8
 * the above copyright notice appear in all copies and that both that
 
9
 * copyright notice and this permission notice appear in supporting
 
10
 * documentation, and that the name of Keith Packard not be used in
 
11
 * advertising or publicity pertaining to distribution of the software without
 
12
 * specific, written prior permission.  Keith Packard makes no
 
13
 * representations about the suitability of this software for any purpose.  It
 
14
 * is provided "as is" without express or implied warranty.
 
15
 *
 
16
 * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
 
17
 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
 
18
 * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
 
19
 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
 
20
 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
 
21
 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 
22
 * PERFORMANCE OF THIS SOFTWARE.
 
23
 */
 
24
 
 
25
#ifdef XFree86LOADER
 
26
 
 
27
#include "xf86Module.h"
 
28
#include    "X.h"
 
29
#include    "scrnintstr.h"
 
30
#include    "windowstr.h"
 
31
#include    "font.h"
 
32
#include    "dixfontstr.h"
 
33
#include    "fontstruct.h"
 
34
#include    "mi.h"
 
35
#include    "regionstr.h"
 
36
#include    "globals.h"
 
37
#include    "gcstruct.h"
 
38
#include "layer.h"
 
39
 
 
40
static XF86ModuleVersionInfo VersRec =
 
41
{
 
42
        "layer",
 
43
        MODULEVENDORSTRING,
 
44
        MODINFOSTRING1,
 
45
        MODINFOSTRING2,
 
46
        XF86_VERSION_CURRENT,
 
47
        1, 0, 0,
 
48
        ABI_CLASS_ANSIC,                /* Only need the ansic layer */
 
49
        ABI_ANSIC_VERSION,
 
50
        MOD_CLASS_NONE,
 
51
        {0,0,0,0}       /* signature, to be patched into the file by a tool */
 
52
};
 
53
 
 
54
XF86ModuleData layerModuleData = { &VersRec, NULL, NULL };
 
55
 
 
56
#endif