]> granicus.if.org Git - postgresql/commit
Enlarge find_other_exec's meager fgets buffer
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 19 Apr 2018 13:45:15 +0000 (10:45 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 19 Apr 2018 13:45:15 +0000 (10:45 -0300)
commitb3f4742aab82463166b327dbf26b3d4a5039e1c6
tree9b2070976c72e4114c933497ddc2c5fc9848e536
parent69e3a548e99f81babf28140526670dded7f94dcf
Enlarge find_other_exec's meager fgets buffer

The buffer was 100 bytes long, which is barely sufficient when the
version string gets longer (such as by configure --with-extra-version).
Set it to MAXPGPATH.

Author: Nikhil Sontakke
Discussion: https://postgr.es/m/CAMGcDxfLfpYU_Jru++L6ARPCOyxr0W+2O3Q54TDi5XdYeU36ow@mail.gmail.com
src/common/exec.c