]> 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)
commite2f3b656038332cf2fbf3536452478d22dc76ee9
tree66c36afa848bca3160f36af068431546d32faa9d
parent94a898f69c8399314c322bb560ea7ddbf877ccba
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