package: apvlv version: 0.0.6.8-1 tags: patch Hello!
I found that when you try to open a file that does not exist (:o ~/lala.pdf) apvlv tries to free the free memory pointed to by realpath on ApvlvDir.cpp:150, although this is freed on row 146. The suggested patch solves the problem by removing the second free. -- Olof Johansson ∎ PGP: 0x7FC0FBBA ∎ http://www.stdlib.se
diff -ur apvlv-0.0.6.8.orig/src/ApvlvDir.cpp apvlv-0.0.6.8/src/ApvlvDir.cpp --- apvlv-0.0.6.8.orig/src/ApvlvDir.cpp 2009-08-18 16:51:48.000000000 +0200 +++ apvlv-0.0.6.8/src/ApvlvDir.cpp 2009-08-18 16:52:18.000000000 +0200 @@ -147,7 +147,6 @@ if (ret < 0) { errp ("stat error: %d:%s", errno, strerror (errno)); - g_free (realpath); return false; }
signature.asc
Description: Digital signature