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

« back to all changes in this revision

Viewing changes to unix/xc/programs/xkbcomp/torture/sym_interp

  • 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
// $Xorg: sym_interp,v 1.3 2000/08/17 19:54:48 cpqbld Exp $
 
2
xkb_compatibility "torture" 
 
3
 
 
4
virtual_modifiers NumLock,AltGr;
 
5
 
 
6
interpret Shift_L {
 
7
        action= SetMods(mods=Shift);
 
8
};
 
9
augment interpret Shift_L {
 
10
        repeat= True;
 
11
        action= NoAction();
 
12
};
 
13
 
 
14
interpret Shift_R {
 
15
        action= NoAction();
 
16
};
 
17
override interpret Shift_R {
 
18
        repeat= True;
 
19
        action= SetMods(mods=Shift);
 
20
};
 
21
 
 
22
include "torture/sym_interp1"
 
23
 
 
24
augment interpret Control_L {
 
25
        locking= True;
 
26
        action= NoAction();
 
27
};
 
28
override interpret Control_R {
 
29
        locking= False;
 
30
        action= SetMods(mods=Control);
 
31
};
 
32
 
 
33
 
 
34
interpret ISO_Next_Group {
 
35
        repeat= False;
 
36
        action= LockGroup(group=+1);
 
37
};
 
38
augment "torture/sym_interp2"
 
39
 
 
40
interpret ISO_Prev_Group {
 
41
        action= NoAction();
 
42
};
 
43
override "torture/sym_interp3"
 
44
 
 
45
interpret Num_Lock {
 
46
        repeat= True;
 
47
        action= NoAction();
 
48
};
 
49
replace interpret Num_Lock {
 
50
        action= LockMods(mods=NumLock);
 
51
};
 
52
augment interpret Num_Lock {
 
53
        virtualMod= NumLock;
 
54
};
 
55
 
 
56
interpret Mode_switch {
 
57
        locking= True;
 
58
        virtualMod= NumLock;
 
59
        action= NoAction();
 
60
};
 
61
replace "torture/sym_interp4"
 
62