]> 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)
commit070179a4a2f8ebf8aefc90603237a3e794d3a9cf
treed2d0ab16379f6a875d382ae54cfa898625a621a5
parentcf73a5b34a907ae5dbc01b94c41cc976a3eb8b84
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/port/exec.c