Skip to content

fix: improve property list management by adding append function - #1409

Merged
skarg merged 3 commits into
masterfrom
bugfix/apps-epics-malicious-reorder-properties
Jun 27, 2026
Merged

fix: improve property list management by adding append function#1409
skarg merged 3 commits into
masterfrom
bugfix/apps-epics-malicious-reorder-properties

Conversation

@skarg

@skarg skarg commented Jun 27, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR improves property list handling in the apps/epics demo by centralizing “append to property list” logic and adding bounds checks to avoid overrunning the local property list buffer when processing RPM responses.

Changes:

  • Added a property_list_append() helper to centralize property list growth and capacity checks.
  • Updated ProcessRPMData() to use the helper for property accumulation and to safely place the -1 list terminator.

Comment thread apps/epics/main.c Outdated
Comment thread apps/epics/main.c Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Comment thread apps/epics/main.c Outdated
@skarg
skarg merged commit 631bb8b into master Jun 27, 2026
36 checks passed
@skarg
skarg deleted the bugfix/apps-epics-malicious-reorder-properties branch June 27, 2026 19:45
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