[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18806: grep -rP getline crashes prematurely (without displaying all
From: |
Norihiro Tanaka |
Subject: |
bug#18806: grep -rP getline crashes prematurely (without displaying all results) on invalid UTF-8 input with LC_ALL=en_US.UTF-8 |
Date: |
Sat, 25 Oct 2014 01:45:42 +0900 |
Shlomi Fish <address@hidden> write:
> `which grep` --color -rP getline grep-test
If -o or --color option is specified, may be line_end < validated in
longest exact match. As a result, a negative value is set to
`search_bytes'.
I improved validation for input buffer in order to fix the bug.
However, possibly it may cause slowdown.
0001-grep-improvement-of-validation-for-input-buffer-in-g.patch
Description: Text document
- bug#18806: grep -rP getline crashes prematurely (without displaying all results) on invalid UTF-8 input with LC_ALL=en_US.UTF-8, Shlomi Fish, 2014/10/23
- bug#18806: grep -rP getline crashes prematurely (without displaying all results) on invalid UTF-8 input with LC_ALL=en_US.UTF-8, Paul Eggert, 2014/10/23
- bug#18806: grep -rP getline crashes prematurely (without displaying all results) on invalid UTF-8 input with LC_ALL=en_US.UTF-8, Shlomi Fish, 2014/10/24
- bug#18806: grep -rP getline crashes prematurely (without displaying all results) on invalid UTF-8 input with LC_ALL=en_US.UTF-8,
Norihiro Tanaka <=
- bug#18806: grep -rP getline crashes prematurely (without displaying all results) on invalid UTF-8 input with LC_ALL=en_US.UTF-8, Shlomi Fish, 2014/10/24
- bug#18806: grep -rP getline crashes prematurely (without displaying all results) on invalid UTF-8 input with LC_ALL=en_US.UTF-8, Norihiro Tanaka, 2014/10/24
- bug#18806: grep -rP getline crashes prematurely (without displaying all results) on invalid UTF-8 input with LC_ALL=en_US.UTF-8, Paul Eggert, 2014/10/24
- bug#18806: grep -rP getline crashes prematurely (without displaying all results) on invalid UTF-8 input with LC_ALL=en_US.UTF-8, Norihiro Tanaka, 2014/10/24
- bug#18806: grep -rP getline crashes prematurely (without displaying all results) on invalid UTF-8 input with LC_ALL=en_US.UTF-8, Shlomi Fish, 2014/10/25
- bug#18806: grep -rP getline crashes prematurely (without displaying all results) on invalid UTF-8 input with LC_ALL=en_US.UTF-8, Jim Meyering, 2014/10/25
- bug#18806: grep -rP getline crashes prematurely (without displaying all results) on invalid UTF-8 input with LC_ALL=en_US.UTF-8, Paul Eggert, 2014/10/25
- bug#18806: grep -rP getline crashes prematurely (without displaying all results) on invalid UTF-8 input with LC_ALL=en_US.UTF-8, Jim Meyering, 2014/10/25
- bug#18806: grep -rP getline crashes prematurely (without displaying all results) on invalid UTF-8 input with LC_ALL=en_US.UTF-8, Paul Eggert, 2014/10/26