Skip to content

server/service null checking#406

Merged
mondain merged 1 commit intoRed5:mainfrom
kdkd:cherry-pick-aa45f8e-20251126-133601
Nov 26, 2025
Merged

server/service null checking#406
mondain merged 1 commit intoRed5:mainfrom
kdkd:cherry-pick-aa45f8e-20251126-133601

Conversation

@kdkd
Copy link
Copy Markdown

@kdkd kdkd commented Nov 26, 2025

Commit from kdkd fork aa45f8e

Prevent crash in ServiceInvoker to not reference methodName before checking that it's not null, since it could be client controlled.

Fix a similar issue in service/Call.java's read/writeExternal to check
serviceName and serviceMethodName before using them.

In ReflectionUtils, findMethod now checks that methodName and arguments
aren't null before referencing them.


…ecking

that it's not null, since it could be client controlled.

Fix a similar issue in service/Call.java's read/writeExternal to check
serviceName and serviceMethodName before using them.

In ReflectionUtils, findMethod now checks that methodName and arguments
aren't null before referencing them.
@mondain mondain merged commit 0c3ce51 into Red5:main Nov 26, 2025
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