Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Gocial Dispatcher overflow #14

@j-forster

Description

@j-forster

When creating a new Gocial at gocialite.go#L32 , the instance is put into the Dispatchers Gocial map at gocialite.go#L37.

The instance is only freed at Dispatcher.Handle which is done in the callbackHandler (see Readme).
If the callbackHandler is not called (if the user closes the tab or the browser or simply navigates back) the Gocial instance is never freed and will result in a memory overflow.

If done on purpose, this bug will crash the golang server. It's a serious security issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions