Skip to content
Snippets Groups Projects
Commit bd725db6 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Paranoia around use of smb.subnum as an index into scfg.sub[]

Use the is_valid_subnum() function before using the smb.subnum as an index into (s)cfg.sub[]. Related to the previous committed fix of writemsg(): leaving the global smb.subnum as -1 (INVALID_SUB) after replying to a post via email or netmail, resulting in a crash here.
parent 2db618ae
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #3150 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment