[Bug 392681] Re: Bug in sscanf() function reading 64 bits integer
** 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.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 392681] Re: Bug in sscanf() function reading 64 bits integer
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 are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 392681] Re: Bug in sscanf() function reading 64 bits integer
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 report any other bugs you may find. -- 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.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 392681] Re: Bug in sscanf() function reading 64 bits integer
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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs