Avoid compressFilelist() stack overflow in pathological cases
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 2 Jan 2008 14:18:55 +0000 (16:18 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Wed, 2 Jan 2008 14:18:55 +0000 (16:18 +0200)
commitbb70bbb7734a2a069bf97b08a354e04fb3debfdf
tree7bb8b64b70e6f93a6fee0d0ea54df4d08dde6981
parent505e8c352cdcd389b014e2276df30fb06e5984cd
Avoid compressFilelist() stack overflow in pathological cases
- allocate dirNames etc arrays on heap, not stack
- the arrays can be rather large and alloca isn't very friendly when it
  fails...
lib/legacy.c