fix crash in wordfree if we_offs is not initialized by the caller
authorRich Felker <dalias@aerifal.cx>
Mon, 16 Apr 2012 17:03:22 +0000 (13:03 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 16 Apr 2012 17:03:22 +0000 (13:03 -0400)
commitbef7a85e45ccc4b40958ca6d94894ca0d27e8291
tree1e356f77efee602e3ef9b4fa45de76069482096b
parentf007bb854b0b2d2d12cd45a8feb674fa9abe70b2
fix crash in wordfree if we_offs is not initialized by the caller

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.
src/misc/wordexp.c