Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | wordexp must set the we_offs entries of we_wordv to null pointers | Rich Felker | 2012-04-16 | 1 | -0/+4 |
| | |||||
* | fix crash in wordfree if we_offs is not initialized by the caller | Rich Felker | 2012-04-16 | 1 | -0/+2 |
| | | | | | | | I'm not sure if it's legal for wordexp to modify this field, but this is the only easy/straightforward fix, and applications should not care. if it's an issue, i can work out a different (but more complex) solution later. | ||||
* | wordexp cannot use we_offs unless WRDE_DOOFFS flag is set | Rich Felker | 2011-06-25 | 1 | -1/+2 |
| | | | | | | previously, a potentially-indeterminate value from we_offs was being used, resulting in wrong we_wordc and subsequent crashes in the caller. | ||||
* | block cancellation in wordexp, handle more errors | Rich Felker | 2011-04-19 | 1 | -2/+17 |
| | |||||
* | avoid malloc of potentially-large string in wordexp | Rich Felker | 2011-04-19 | 1 | -10/+28 |
| | |||||
* | remove stupid debug code in wordexp | Rich Felker | 2011-04-15 | 1 | -1/+0 |
| | |||||
* | implement wordexp. first try, may be buggy. intended to be safe. | Rich Felker | 2011-04-15 | 1 | -0/+128 |