Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QDecDouble::MaxStrSize too small #1

Closed
GoogleCodeExporter opened this issue Nov 19, 2015 · 1 comment
Closed

QDecDouble::MaxStrSize too small #1

GoogleCodeExporter opened this issue Nov 19, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

256 bytes is not enough to represent a double number of DBL_MAX or DBL_MIN

try this,

int main(int argc, char *argv[])
{    
    double d = DBL_MAX;
    QDecDouble dd(d);
}

and see the application happily crash.


Original issue reported on code.google.com by bitwiggl...@googlemail.com on 17 Jan 2012 at 2:24

@GoogleCodeExporter
Copy link
Author

Thank you for reporting this defect.
The issue has now fixed in the git repository with revision f870ca18bfaa, 
please check out latest source.

Original comment by Semih.Ce...@gmail.com on 23 Jan 2012 at 2:19

  • Changed state: Verified

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant