]> git.street.me.uk Git - andy/viking.git/commit - ChangeLog
Fix bugs that cause crashes on layers copy/paste/delete.
authorQuy Tonthat <qtonthat@gmail.com>
Sun, 19 Aug 2007 15:12:43 +0000 (15:12 +0000)
committerQuy Tonthat <qtonthat@gmail.com>
Sun, 19 Aug 2007 15:12:43 +0000 (15:12 +0000)
commitf8fe5d1448a1699d4f9ae5e984e6ef2572fe5613
tree646cee98f63ae1424e93a5df52527e4328ac0bd3
parent1bd88e666dcc4c9cb32f637b4aac7795ec2a145c
Fix bugs that cause crashes on layers copy/paste/delete.

The bug can be reproduced consistently by following steps:

- start viking, create a map layer
- select the map layer
- click on copy
- select some text on a terminal
- right click on the selected text.

At this stage, error messages appears such as:
(viking:5219): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `VikLayer'

(viking:5219): Gdk-WARNING **: Error converting from UTF-8 to STRING: Invalid byte sequence in conversion input

The memory is corrupted by then, other operations will crash viking eventually.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
ChangeLog
src/clipboard.c