summaryrefslogtreecommitdiff
path: root/src/misc/wordexp.c
AgeCommit message (Expand)AuthorLines
2013-11-22fix fd leak and case where fd 1 is already closed in wordexpRich Felker-4/+4
2013-11-22fix resource exhaustion and zero-word cases in wordexpRich Felker-8/+18
2013-11-22improve robustness of wordexp and fix handling of 0-word caseRich Felker-11/+16
2012-09-06use restrict everywhere it's required by c99 and/or posix 2008Rich Felker-1/+1
2012-04-16wordexp must set the we_offs entries of we_wordv to null pointersRich Felker-0/+4
2012-04-16fix crash in wordfree if we_offs is not initialized by the callerRich Felker-0/+2
2011-06-25wordexp cannot use we_offs unless WRDE_DOOFFS flag is setRich Felker-1/+2
2011-04-19block cancellation in wordexp, handle more errorsRich Felker-2/+17
2011-04-19avoid malloc of potentially-large string in wordexpRich Felker-10/+28
2011-04-15remove stupid debug code in wordexpRich Felker-1/+0
2011-04-15implement wordexp. first try, may be buggy. intended to be safe.Rich Felker-0/+128