Rich Felker
|
aeea71dc04
fix and refactor child reaping logic in wordexp
|
11 ani în urmă |
Rich Felker
|
caaf7d443d
fix fd leak and case where fd 1 is already closed in wordexp
|
11 ani în urmă |
Rich Felker
|
8253f59eae
fix resource exhaustion and zero-word cases in wordexp
|
11 ani în urmă |
Rich Felker
|
d8f1908b82
improve robustness of wordexp and fix handling of 0-word case
|
11 ani în urmă |
Rich Felker
|
400c5e5c83
use restrict everywhere it's required by c99 and/or posix 2008
|
12 ani în urmă |
Rich Felker
|
0d5df2df4f
wordexp must set the we_offs entries of we_wordv to null pointers
|
13 ani în urmă |
Rich Felker
|
bef7a85e45
fix crash in wordfree if we_offs is not initialized by the caller
|
13 ani în urmă |
Rich Felker
|
6250c0be4b
wordexp cannot use we_offs unless WRDE_DOOFFS flag is set
|
14 ani în urmă |
Rich Felker
|
145c05345d
block cancellation in wordexp, handle more errors
|
14 ani în urmă |
Rich Felker
|
f0fc95d439
avoid malloc of potentially-large string in wordexp
|
14 ani în urmă |
Rich Felker
|
90f09a0dde
remove stupid debug code in wordexp
|
14 ani în urmă |
Rich Felker
|
d251c2645c
implement wordexp. first try, may be buggy. intended to be safe.
|
14 ani în urmă |