Skip to content

AutoProxy_Cleanup frees already freed memory resulting in Excel crash #108

@japj

Description

@japj

WebHelpers AutoProxy_Cleanup will try to free any used memory without setting pointers to 0 after the free, see code at https://github.com/VBA-tools/VBA-Web/blob/master/src/WebHelpers.bas#L2785

This has been observed when having a proxy pac file that does not exist and the error handling code is triggered.

As a result the AutoProxy_Cleanup will raise an Error, which results in AutoProxy_Cleanup being called again. This in result will try to free memory again causing a crash in Excel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions