#### Pre-Submission Checklist - [x] Commit message has the format required by CONTRIBUTING guide - [x] Commits are split per component (core, individual modules, libs, utils, ...) - [x] Each component has a single commit - [x] No commits to README files for modules
#### Type Of Change - [x] Small bug fix (non-breaking change which fixes an issue) - [ ] New feature - [ ] Breaking change #### Checklist: - [ ] PR should be backported to stable branches (please check if maintainers want this) - [x] Tested changes locally - [ ] Related to issue #XXXX (add issue number if exists) #### Description This PR fixes an issue in the rtp_media_server module where the function could attempt to access non-existent data when no codec matches are found. The fix properly handles this edge case. Changes: - Return proper value when no matches are found The bug could cause segmentation faults when negotiating codecs in certain scenarios. The fix maintains backward compatibility while preventing the crash condition. You can view, comment on, or merge this pull request online at: https://github.com/kamailio/kamailio/pull/4364 -- Commit Summary -- * rtp_media_server: fix incorrect function return value -- File Changes -- M src/modules/rtp_media_server/rms_sdp.c (6) -- Patch Links -- https://github.com/kamailio/kamailio/pull/4364.patch https://github.com/kamailio/kamailio/pull/4364.diff -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/4364 You are receiving this because you are subscribed to this thread. Message ID: <kamailio/kamailio/pull/4...@github.com>
_______________________________________________ Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org To unsubscribe send an email to sr-dev-le...@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!