Skip to content

MilesAudioManager::killLowestPrioritySoundImmediately tries to erase an element with an iterator on an unrelated container #537

Closed
@Mauller

Description

@Mauller

Area(s) with this issue?

No response

Describe the issue

Miles audio manager attempts to use an iterator to erase a playing 3D sound using an iterator that is out of bounds of the container. Line 2071 - killLowestPrioritySoundImmediately

This could be casued by other memory issues as the pointer is returning 0xDEADBEEF which could be an indication that something has altered memory in an unexpected way and we are going beyond allocated memory.

Steps to reproduce

Run Generals under debug in VS22

Attachments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    GenRelates to GeneralsMinorSeverity: Minor < Major < Critical < BlockerZHRelates to Zero Hour

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions