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)
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