Article View: gnu.emacs.vm.bug
Article #484Re: buglet (?) in qp-decode.c
From: newsspam5REMOVETHIS
Date: Sat, 12 Jul 2008 20:46
Date: Sat, 12 Jul 2008 20:46
23 lines
1880 bytes
1880 bytes
Ralf Fassel <ralfixx@gmx.de> writes:
> * newsspam5REMOVETHIS@robf.de
> | Does the following work for you?
> --<snip-snip>--
> | --- src/qp-decode.c 2007-01-12 01:50:26 +0000
> | +++ src/qp-decode.c 2008-07-05 21:23:47 +0000
> | @@ -63,7 +63,9 @@
> | continue;
> | } else { /* *stop == '=' */
> | stop++;
> | - if ((d1 = strchr(hexdigits, *(stop))) &&
> | + if (*stop == 0) {
> | + continue;
> | + } else if ((d1 = strchr(hexdigits, *(stop))) &&
> | (d2 = strchr(hexdigits, *(stop+1)))) {
> | c = (d1 - hexdigits) * 16 + (d2 - hexdigits);
> | putchar(c);
>
> Yes, it does.
Thanks for testing.
Robert.
Technical Details
Message-ID:
<85tzeun851.fsf@robf.de>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!feeder.erje.net!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.freenet.de!news.code-werk.net!open-news-network.org!news.m-online.net!not-for-mailReferences:
<ygalk0ni65f.fsf@gepard2.akutech-local.de> <m2skuulbe4.fsf@consult.pretender> <yga4p7ahvjc.fsf@gepard2.akutech-local.de> <85prps58hn.fsf@robf.de> <ygavdzgj13t.fsf@gepard2.akutech-local.de>Show Full Headers
Complete Article Headers
X-Google-Thread: f6829,141bbfda3d9204c6 X-Google-Attributes: gidf6829,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!feeder.erje.net!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.freenet.de!news.code-werk.net!open-news-network.org!news.m-online.net!not-for-mail From: newsspam5REMOVETHIS@robf.de Newsgroups: gnu.emacs.vm.bug Subject: Re: buglet (?) in qp-decode.c Date: Sat, 12 Jul 2008 22:46:02 +0200 Organization: (posted via) M-net Telekommunikations GmbH Lines: 23 Message-ID: <85tzeun851.fsf@robf.de> References: <ygalk0ni65f.fsf@gepard2.akutech-local.de> <m2skuulbe4.fsf@consult.pretender> <yga4p7ahvjc.fsf@gepard2.akutech-local.de> <85prps58hn.fsf@robf.de> <ygavdzgj13t.fsf@gepard2.akutech-local.de> NNTP-Posting-Host: ppp-88-217-25-43.dynamic.mnet-online.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: svr7.m-online.net 1215895562 25643 88.217.25.43 (12 Jul 2008 20:46:02 GMT) X-Complaints-To: abuse@m-online.net NNTP-Posting-Date: Sat, 12 Jul 2008 20:46:02 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.21 (linux) Cancel-Lock: sha1:eKPmZEHplthBia4oIaLyYqGiKIY=