diff options
author | marcus <marcus@FreeBSD.org> | 2013-03-25 04:39:21 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2013-03-25 04:39:21 +0800 |
commit | 06f108cc8bc8c89a85fdfbcdceff8666a389ca5b (patch) | |
tree | 68ac14448b60f8cca5109e9039ed81520643bc4e /net-im/libpurple | |
parent | b8a988cbaf8aca7da768545845192e8c1018566b (diff) | |
download | freebsd-ports-gnome-06f108cc8bc8c89a85fdfbcdceff8666a389ca5b.tar.gz freebsd-ports-gnome-06f108cc8bc8c89a85fdfbcdceff8666a389ca5b.tar.zst freebsd-ports-gnome-06f108cc8bc8c89a85fdfbcdceff8666a389ca5b.zip |
Fix a crash with the cap plugin.
PR: 176851
Submitted by: Ivan Klymenko <fidaj@ukr.net>
Diffstat (limited to 'net-im/libpurple')
-rw-r--r-- | net-im/libpurple/files/patch-pidgin_plugins_cap_cap.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net-im/libpurple/files/patch-pidgin_plugins_cap_cap.c b/net-im/libpurple/files/patch-pidgin_plugins_cap_cap.c new file mode 100644 index 000000000000..3d37956cc567 --- /dev/null +++ b/net-im/libpurple/files/patch-pidgin_plugins_cap_cap.c @@ -0,0 +1,11 @@ +--- pidgin/plugins/cap/cap.c.orig 2013-03-24 20:34:29.882262000 +0000 ++++ pidgin/plugins/cap/cap.c 2013-03-24 20:34:39.576121000 +0000 +@@ -43,7 +43,7 @@ static double generate_prediction_for(Pu + int threshold = purple_prefs_get_int("/plugins/gtk/cap/threshold"); + int min_minute = (current_minute - threshold) % 1440; + int max_minute = (current_minute + threshold) % 1440; +- char *sql, sta_id = NULL; ++ char *sql, *sta_id = NULL; + sqlite3_stmt *stmt = NULL; + const char *tail = NULL; + int rc; |