Skip to content

Commit aefee59

Browse files
committed
gtkpod: fix segmentation fault when parsing multibyte characters
1 parent 9199c0a commit aefee59

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
--- a/libgtkpod/misc.c
2+
+++ b/libgtkpod/misc.c
3+
@@ -475,7 +475,7 @@ fuzzy_skip_prefix(const gchar *name) {
4+
5+
g_return_val_if_fail (csfk, 0);
6+
7+
- tempStr = g_utf8_collate_key(cleanStr, csfk->length);
8+
+ tempStr = g_utf8_collate_key(cleanStr, -1);
9+
if (strcmp(tempStr, csfk->key) == 0) {
10+
/* Found article, bump pointers ahead appropriate distance
11+
*/

srcpkgs/gtkpod/template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Template file for 'gtkpod'
22
pkgname=gtkpod
33
version=2.1.5
4-
revision=7
4+
revision=8
55
build_style=gnu-configure
66
configure_args="--disable-static"
77
hostmakedepends="flex intltool pkg-config glib"

0 commit comments

Comments
 (0)