[Bug 392681] Re: Bug in sscanf() function reading 64 bits integer

2009-12-25 Thread Kees Cook
** Tags added: homework -- Bug in sscanf() function reading 64 bits integer https://bugs.launchpad.net/bugs/392681 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ub

[Bug 392681] Re: Bug in sscanf() function reading 64 bits integer

2009-06-26 Thread Ricardo Aguiar
Ok. You are right. The bug is in my code. Thanks for your time! -- Bug in sscanf() function reading 64 bits integer https://bugs.launchpad.net/bugs/392681 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubunt

[Bug 392681] Re: Bug in sscanf() function reading 64 bits integer

2009-06-26 Thread Lars Ljung
Thank you for taking the time to report this bug and helping to make Ubuntu better. However, the bug is in your code ;) You first print an unsigned number (%llu) and then you read a signed number (%lld). That is the cause of the error. I'm marking this as invalid, but feel free to continue to repo

[Bug 392681] Re: Bug in sscanf() function reading 64 bits integer

2009-06-26 Thread Kees Cook
Thanks for the bug report! sscanf is handling the input correctly, please double-check your data. ** Changed in: glibc (Ubuntu) Status: New => Invalid -- Bug in sscanf() function reading 64 bits integer https://bugs.launchpad.net/bugs/392681 You received this bug notification because you