Skip to content

ieee.c: Fix possible infinite loop and avoid empty device_ids#170

Merged
tillkamppeter merged 1 commit into
OpenPrinting:masterfrom
zdohnal:ieee-mdl-fix
Jul 23, 2026
Merged

ieee.c: Fix possible infinite loop and avoid empty device_ids#170
tillkamppeter merged 1 commit into
OpenPrinting:masterfrom
zdohnal:ieee-mdl-fix

Conversation

@zdohnal

@zdohnal zdohnal commented Jul 23, 2026

Copy link
Copy Markdown
Member

If model in device id was empty, library got into infinite loop. There are several layers of protection now:

  • library now does not allow empty strings for key or value
  • device ids without values are thrown away
  • comparison now happens only when there is actual string to compare with, aka length > 0

Fixes: CVE-2026-64611

If model in device id was empty, library got into infinite loop. There
are several layers of protection now:

- library now does not allow empty strings for key or value
- device ids without values are thrown away
- comparison now happens only when there is actual string to compare
  with, aka length > 0

Fixes: CVE-2026-64611
@zdohnal
zdohnal requested a review from tillkamppeter July 23, 2026 13:54
@tillkamppeter
tillkamppeter merged commit 4b34352 into OpenPrinting:master Jul 23, 2026
15 checks passed
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.

2 participants