Hi, > I was reading some buffile.c code, and I noticed some hand-rolled > versions of repalloc_array() (minus the multiplication check). Since we > already have one usage of repalloc_array() in buffile.c for > BufFile::files, I figured it would probably be alright if we used it in > the other two locations as well.
This seems like a good idea, especially with bfc5cea76d25 which hardens (re-)palloc_array against integer overflow. I checked and could not find any other occurances in buffile.c that should be included. -- Sami Imseih Amazon Web Services (AWS)
