diff options
author | Bernhard Walle <bernhard@bwalle.de> | 2013-02-28 12:42:38 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-02-28 12:42:38 +0100 |
commit | 47f8558eee4caa30078daaa669f37d7cc77163fd (patch) | |
tree | e357192d977ca9c6dedf25d83badebff4e20dfb0 /e2fsprogs/old_e2fsprogs/e2p/mntopts.c | |
parent | ed954b68552efb0c496f01fc9de28a4adf0f2404 (diff) | |
download | busybox-47f8558eee4caa30078daaa669f37d7cc77163fd.tar.gz |
pgrep: fix -x option
Because when -x is used (exact match), then we cannot compile the
regular expression with REG_NOSUB. The manual page regcomp(3) states
in section "Byte offsets":
Unless REG_NOSUB was set for the compilation of the pattern
buffer, it is possible to obtain substring match addressing
information.
The problem was detected on an ARM system with glibc 2.16.
Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'e2fsprogs/old_e2fsprogs/e2p/mntopts.c')
0 files changed, 0 insertions, 0 deletions