Closed Bug 367215 Opened 18 years ago Closed 18 years ago

[GTK] valgrind warnings when using clipboard while system slow [@ clipboard_contents_received]

Categories

(Core Graveyard :: GFX: Gtk, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 353547

People

(Reporter: dbaron, Unassigned)

Details

(Keywords: valgrind)

Attachments

(1 file)

I thought I filed this before, but I can't find it.

I think I saw these warnings when trying to copy from the URL bar while my system was slowed down by a compile, etc., although I might have been pasting accidentally.

In any case, the GTK2 clipboard code pretty clearly tries to access a pointer to a variable that was on the stack well after it was on the stack.  If it were to happen while the stack is deeper (which I haven't yet seen, although valgrind wouldn't catch that, I don't think), it could corrupt memory.
Flags: blocking1.9?
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Keywords: valgrind
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: