Skip to content

Conversation

@minggangw
Copy link
Member

@minggangw minggangw commented Jan 14, 2026

This pull request fixes subscription content-filtering flakiness by addressing memory allocation bugs and improving error handling in the content filter operations.

Changes:

  • Fixed memory allocation size calculation from sizeof(char*) to sizeof(char) in CreateSubscription and SetContentFilter functions
  • Replaced macro-based error handling with explicit error checking and cleanup in SetContentFilter and ClearContentFilter
  • Added proper resource finalization calls for content filter options

Fix: #1368

Copilot AI review requested due to automatic review settings January 14, 2026 06:33
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request fixes subscription content-filtering flakiness by addressing memory allocation bugs and improving error handling in the content filter operations.

Changes:

  • Fixed memory allocation size calculation from sizeof(char*) to sizeof(char) in CreateSubscription and SetContentFilter functions
  • Replaced macro-based error handling with explicit error checking and cleanup in SetContentFilter and ClearContentFilter
  • Added proper resource finalization calls for content filter options

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@coveralls
Copy link

coveralls commented Jan 14, 2026

Coverage Status

coverage: 80.626% (-0.02%) from 80.646%
when pulling c043b78 on minggangw:fix-1368
into b823a2d on RobotWebTools:develop.

@minggangw minggangw requested a review from Copilot January 14, 2026 08:08
@minggangw minggangw merged commit e01fbf7 into RobotWebTools:develop Jan 14, 2026
32 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.

Fix subscription content-filtering flakiness

2 participants