Skip to content

Catch possible stack overflow when preparing and compiling user statements#8255

Merged
hvlad merged 2 commits into
v5.0-releasefrom
work/prepare_seh
Sep 18, 2024
Merged

Catch possible stack overflow when preparing and compiling user statements#8255
hvlad merged 2 commits into
v5.0-releasefrom
work/prepare_seh

Conversation

@hvlad

@hvlad hvlad commented Sep 17, 2024

Copy link
Copy Markdown
Member

No description provided.

@hvlad

hvlad commented Sep 17, 2024

Copy link
Copy Markdown
Member Author

It fixed #6467, #6763 and probably more similar issues.
Current code ifdef'ed with WIN_NT by two reasons:

  • it can't catch stack overflow on other platforms
  • it adds performance penalty on Linux as was shown in fb-devel (see thread "[firebird-devel] UDF vs UDR speed (was Re: Deprecation)" 10.01.2024)

@hvlad hvlad self-assigned this Sep 17, 2024
Comment thread src/dsql/dsql.cpp Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants