Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE
weechat.7308
u_fix_dcc.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File u_fix_dcc.patch of Package weechat.7308
From 2fb346f25f79e412cf0ed314fdf791763c19b70b Mon Sep 17 00:00:00 2001 From: Tobias Stoeckmann <tobias@stoeckmann.org> Date: Sat, 22 Apr 2017 15:10:53 +0200 Subject: [PATCH] irc: fix parsing of DCC filename --- src/plugins/irc/irc-ctcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/irc/irc-ctcp.c b/src/plugins/irc/irc-ctcp.c index e62832b..8afee68 100644 --- a/src/plugins/irc/irc-ctcp.c +++ b/src/plugins/irc/irc-ctcp.c @@ -512,7 +512,7 @@ irc_ctcp_dcc_filename_without_quotes (const char *filename) int length; length = strlen (filename); - if (length > 0) + if (length > 1) { if ((filename[0] == '\"') && (filename[length - 1] == '\"')) return weechat_strndup (filename + 1, length - 2);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor