[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bad character makes bash terminate
From: |
kjwolf |
Subject: |
Bad character makes bash terminate |
Date: |
Tue, 29 Jul 2003 15:34:35 +0200 (CEST) |
Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu'
-DCONF_VENDOR='pc' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib
-march=pentium2 -Os -pipe
uname output: Linux golulu.logelhorst.xx 2.4.21 #4 Mon Jul 21 17:24:27 CEST
2003 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz GenuineIntel GNU/Linux
Machine Type: i686-pc-linux-gnu
Bash Version: 2.05b
Patch Level: 0
Release Status: release
Description:
While working in an interactive shell, I accidentally hit a local umlaut
key. Later, when browsing back in history with the UP key, when
reaching the line with that umlaut, bash terminates after having turned
off console echoing.
hexdump of .bash_history (at the position of the offending history
line):
00001f10 62 69 6e 2f 72 69 6f 0a 63 68 67 72 70 20 75 fc
|bin/rio.chgrp u.|
00001f20 73 20 2f 75 73 72 2f 62 69 6e 2f 72 69 6f 0a 63
|s /usr/bin/rio.c|
Repeat-By:
Type an 'ü' in a command line, e.g. "chmod aüs". Enter another
(different) command line, e.g. "chmod axs". Press UP, UP.
Apparently, the bug occurs in about 70% of all tries.
Fix:
unknown.
- Bad character makes bash terminate,
kjwolf <=