Skip to content

wmclockmon-0.8.1 #60

Description

@svgol

It is supplied with a configuration utility wmclockmon-config which crashes on pushing any of two buttons 'Save'.
The cause is it tries to free memory allocated in an external library, namely by gtk_entry_get_text().
The documentation of the function states that its return value

A pointer to the contents of the widget as a string. This string points to internally allocated storage in the widget and must not be freed, modified or stored.

The attached patch fixes the problem

fix_crashes_on_free.patch.tgz

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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