Gnus development mailing list
 help / color / mirror / Atom feed
* problem with using mail-extract-address-components
@ 2002-07-12  2:35 doug+2002-07-11-92f
  2002-07-26 12:25 ` Simon Josefsson
  0 siblings, 1 reply; 2+ messages in thread
From: doug+2002-07-11-92f @ 2002-07-12  2:35 UTC (permalink / raw)


Greetings,

While reading an article in a group, I encountered a "Wrong type
argument: integer-or-marker-p, nil" error. I traced the error
signal down to mail-extract-address-components being called with
questionable input in mm-decode. The problem was a from address of
"%@&%", as in the following form:

 (mail-extract-address-components "%@&%")

Maybe all the calls to mail-extract-address-components should be
wrapped in a condition-case or whatever would be appropriate for
catching this error?

(gnus-version)  -> "Oort Gnus v0.06"
(emacs-version) -> "XEmacs 21.4 (patch 8) ..."

thanks,
doug
-- 
http://www.bagley.org/~doug/contact.shtml



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: problem with using mail-extract-address-components
  2002-07-12  2:35 problem with using mail-extract-address-components doug+2002-07-11-92f
@ 2002-07-26 12:25 ` Simon Josefsson
  0 siblings, 0 replies; 2+ messages in thread
From: Simon Josefsson @ 2002-07-26 12:25 UTC (permalink / raw)
  Cc: ding

doug+2002-07-11-92f@bagley.org writes:

> Greetings,
>
> While reading an article in a group, I encountered a "Wrong type
> argument: integer-or-marker-p, nil" error. I traced the error
> signal down to mail-extract-address-components being called with
> questionable input in mm-decode. The problem was a from address of
> "%@&%", as in the following form:
>
>  (mail-extract-address-components "%@&%")
>
> Maybe all the calls to mail-extract-address-components should be
> wrapped in a condition-case or whatever would be appropriate for
> catching this error?
>
> (gnus-version)  -> "Oort Gnus v0.06"
> (emacs-version) -> "XEmacs 21.4 (patch 8) ..."

Upgrade mail-lib in XEmacs, I think I fixed the bug in mail-extr.el
recently.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-07-26 12:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-12  2:35 problem with using mail-extract-address-components doug+2002-07-11-92f
2002-07-26 12:25 ` Simon Josefsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).