Skip to content

Fix(drawable): Prevent crash with null custom ambient sound info during save#400

Open
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/fix/drawable-null-ambient-sound
Open

Fix(drawable): Prevent crash with null custom ambient sound info during save#400
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/fix/drawable-null-ambient-sound

Conversation

@seer-by-sentry
Copy link

Fixes CLIENT-43Y. The issue was that: Invalid m_customSoundAmbientInfo pointer in Drawable causes access violation during serialization in DynamicAudioEventInfo::getOriginalName.

  • Added a null pointer check for 'm_customSoundAmbientInfo' in 'Drawable::xfer' to prevent crashes during save operations.
  • If 'm_customSoundAmbientInfo' is NULL when custom ambient sound data is expected, a debug crash is logged, and an empty string is written instead of dereferencing a null pointer.

This fix was generated by Seer in Sentry, triggered automatically. 👁️ Run ID: 12145397

Not quite right? Click here to continue debugging with Seer.

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.

0 participants