Skip to content

fix filter regression while keeping (CVE-2026-3606) fixed#1311

Merged
LocutusOfBorg merged 1 commit into
Ettercap:masterfrom
koeppea:fix-1248
May 26, 2026
Merged

fix filter regression while keeping (CVE-2026-3606) fixed#1311
LocutusOfBorg merged 1 commit into
Ettercap:masterfrom
koeppea:fix-1248

Conversation

@koeppea

@koeppea koeppea commented May 22, 2026

Copy link
Copy Markdown
Member

This pull request is to fix #1248
The error was, that the *data pointer always pointed to the same start address and SAFE_RECALLOC was then always overwriting more data per iteration except the last.

To avoid further confusion, I removed the macro SAFE_RECALLOC.

I tested the fix with ASAN support enabled, and it didn't trigger, since memcpy() is still not allowed to write the extra byte.

@LocutusOfBorg LocutusOfBorg merged commit 3548c10 into Ettercap:master May 26, 2026
2 checks passed
@LocutusOfBorg

Copy link
Copy Markdown
Contributor

I like it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pcre_regex or replace has no effect in Ettercap filters

2 participants