Content-Length: 253030 | pFad | http://github.com/postgrespro/postgres_cluster/commit/d0fef065446e900aaca1382b641d9449396c41f4

99 Fix a potential double-free in ecpg. · postgrespro/postgres_cluster@d0fef06 · GitHub
Skip to content

Commit d0fef06

Browse files
author
Michael Meskes
committed
Fix a potential double-free in ecpg.
1 parent d8ec6b9 commit d0fef06

File tree

1 file changed

+1
-0
lines changed
  • src/interfaces/ecpg/preproc

1 file changed

+1
-0
lines changed

src/interfaces/ecpg/preproc/pgc.l

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -566,6 +566,7 @@ cppline {space}*#([^i][A-Za-z]*|{if}|{ifdef}|{ifndef}|{import})((\/\*[^*/]*\*+
566566
{
567567
addlit(yytext, yyleng);
568568
free(dolqstart);
569+
dolqstart = NULL;
569570
BEGIN(SQL);
570571
base_yylval.str = mm_strdup(literalbuf);
571572
return DOLCONST;

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/d0fef065446e900aaca1382b641d9449396c41f4

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy