Git Product home page Git Product logo

Comments (2)

andyedinborough avatar andyedinborough commented on June 2, 2024

I was afraid of that. I just pushed a small change to report the value it's trying to parse as part of the exception.

Let me know what it is. Thanks!

-----Original Message-----
From: piher [mailto:[email protected]]
Sent: Thursday, March 15, 2012 11:28 AM
To: Andy Edinborough
Subject: [aenetmail] DecodeQuotedPrintable throws StackOverFlow (#51)

Hi,

There's a msg in my mailbox that causes the line int ascii = int.Parse(match.Value.Replace("=",string.Empty), System.Globalization.NumberStyles.HexNumber);
in the decodeQuotedPrintable method to throw a StackOverFlow Exception claiming that the value was to big or to small to be an integer.

The previous
int ascii = int.Parse(match.Value.Substring(1), System.Globalization.NumberStyles.HexNumber);
works fine on the same message.

I don't know what would help you to find out what's wrong so just tell me...


Reply to this email directly or view it on GitHub:
#51

from aenetmail.

piher avatar piher commented on June 2, 2024

Failed parsing "=0D=0A=0D=0A=0D=0A" as an integer

from aenetmail.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.