Skip to content

Commit d1ca82d

Browse files
author
Michael Meskes
committed
Fix a potential double-free in ecpg.
1 parent 9c2635e commit d1ca82d

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
@@ -565,6 +565,7 @@ cppline {space}*#([^i][A-Za-z]*|{if}|{ifdef}|{ifndef}|{import})((\/\*[^*/]*\*+
565565
{
566566
addlit(yytext, yyleng);
567567
free(dolqstart);
568+
dolqstart = NULL;
568569
BEGIN(SQL);
569570
base_yylval.str = mm_strdup(literalbuf);
570571
return DOLCONST;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy