w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit bbb6fc50eee46f384abc607c45d042aac1618b4b
parent 9ec238d0c7645fe1681899d62659f56e2ac5d298
Author: ukai <ukai>
Date:   Mon,  4 Nov 2002 08:47:37 +0000

[w3m-dev-en 00827] Re: w3m-cvs segfaults on news://<mid> URLs
* url.c (openURL): check pu->file for news:
From: Fumitoshi UKAI  <ukai@debian.or.jp>

Diffstat:
MChangeLog | 5+++++
Murl.c | 2++
2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,8 @@ +2002-11-04 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev-en 00827] Re: w3m-cvs segfaults on news://<mid> URLs + * url.c (openURL): check pu->file for news: + 2002-10-31 Fumitoshi UKAI <ukai@debian.or.jp> * fix compilation warnings diff --git a/url.c b/url.c @@ -1804,6 +1804,8 @@ openURL(char *url, ParsedURL *pu, ParsedURL *current, fprintf(fw, "ARTICLE %s\r\n", p); } else { + if (pu->file == NULL || *pu->file == '\0') + goto nntp_error; /* pu-file contains '@' => news:<message-id> */ fprintf(fw, "ARTICLE <%s>\r\n", url_unquote(pu->file)); }