diff options
author | Jim Meyering <jim@meyering.net> | 2007-01-11 19:31:27 +0100 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-01-11 19:31:27 +0100 |
commit | 4e2fd4cca630e887cabf030d926ca21e9d842634 (patch) | |
tree | 32510c51c1ce77b71fead6cea9fe093e714b596e /tests/cut | |
parent | c6357f0cabfa46535285d5401cdf28d5d4469670 (diff) | |
download | coreutils-4e2fd4cca630e887cabf030d926ca21e9d842634.tar.xz |
Avoid a leak in expr's implementation of the ":" (match) operator.
* src/expr.c (docolon): Free the regexp buffer using regfree, rather
than doing it manually, being careful to set fastmap to NULL first.
Free any re_regs.start and .end members, if necessary.
Diffstat (limited to 'tests/cut')
0 files changed, 0 insertions, 0 deletions