Permalink
Browse files

corrected traceback due to aliaskey variable mismatch

  • Loading branch information...
1 parent d2b7a9d commit ceb5b335a3e7b6fc0213a8ba3d425db17e06fea8 @ghantoos committed May 8, 2012
Showing with 4 additions and 2 deletions.
  1. +3 −0 CHANGES
  2. +1 −2 lshellmodule/lshell.py
View
@@ -8,6 +8,9 @@ Contact: ghantoos@ghantoos.org
http://sourceforge.net/projects/lshell/
#####################################
+=== v0.9.15.2 08/05/2012 ===
+ * Corrected mismatch in aliaskey variable.
+
=== v0.9.15.1 15/03/2012 ===
* Corrected security bug allowing user to get out of the restricted
shell. Thank you bui from NBS System for reporting this grave issue!
View
@@ -1414,8 +1414,7 @@ def get_aliases(line, aliases):
# in case aliase bigin with the same command
# (this is until i find a proper regex solution..)
- if aliases[item].startswith(item):
- aliaskey = os.urandom(10)
+ aliaskey = os.urandom(10)
while re.findall(reg1, line):
(before, after, rest) = re.findall(reg1, line)[0]

0 comments on commit ceb5b33

Please sign in to comment.