Skip to content

XB10-2357: Ovsm Crash#949

Open
DharmalakshmiA wants to merge 3 commits intordkcentral:mainfrom
DharmalakshmiA:onewifi_crash_xb10
Open

XB10-2357: Ovsm Crash#949
DharmalakshmiA wants to merge 3 commits intordkcentral:mainfrom
DharmalakshmiA:onewifi_crash_xb10

Conversation

@DharmalakshmiA
Copy link
Copy Markdown
Contributor

XB10-2357 Ovsm crash

Reason for change: Ovsm crashed due to improper handling of the security mode in the translator.
Test Procedure: No crash noticed after changes. Tested reboot, reset cases.
Risks: Low
Signed-off-by: Dharmalakshmi A Dharmalakshmi_Annamalai@comcast.com

Copy link
Copy Markdown
Contributor

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 PR addresses an OVSM crash by updating the OVSDB translator to avoid processing STA security key material (PSK) when the STA VAP security mode is not a personal security mode.

Changes:

  • Add an is_personal_sec() guard in translate_sta_vap_info_to_ovsdb_state_personal_sec() to early-return for non-personal security modes, avoiding invalid key handling/crash.

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

Comment on lines +3158 to +3159
return webconfig_error_none;
}
Copy link

Copilot AI Apr 14, 2026

Choose a reason for hiding this comment

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

The indentation in this new early-return block uses tabs/misaligned whitespace, which is inconsistent with the surrounding 4-space indentation in this file. Please re-indent these lines with spaces to match the existing style (and avoid mixed tab/space formatting issues in diffs and linters).

Suggested change
return webconfig_error_none;
}
return webconfig_error_none;
}

Copilot uses AI. Check for mistakes.
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.

3 participants