Skip to content

rsocket: Fix use of uninitialized ret #1600

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 27, 2025

Conversation

YanLongDai
Copy link

Fix use of uninitialized ret, 'ret' may be used uninitialized at librdmacm\rsocket.c line 2703.

This is because it is possible that the 'ret' assignment logic may not be executed due to the empty &rs->iomap_queue in line 2647

Fix use of uninitialized ret, 'ret' may be used uninitialized at librdmacm\rsocket.c line 2703.

This is because it is possible that the 'ret' assignment logic may not be executed due to the empty &rs->iomap_queue in line 2647

Signed-off-by: daiyanlong <daiyanlong@kylinos.cn>
@rleon rleon merged commit 0a509e4 into linux-rdma:master Apr 27, 2025
14 checks passed
@YanLongDai YanLongDai deleted the rsocket_uninit_ret branch April 27, 2025 12:26
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