Bug 2609 - snprintf("%llul\n", ULLONG_MAX) not correct
snprintf("%llul\n", ULLONG_MAX) not correct
Status: NEW
Product: Samba 3.0
Classification: Unclassified
Component: Build environment
All Linux
: P3 normal
: none
Assigned To: Tim Potter
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2005-04-14 09:51 UTC by Sean Young
Modified: 2005-04-14 10:21 UTC (History)
0 users

See Also:

Fixes long long problems (1.99 KB, patch)
2005-04-14 10:20 UTC, Sean Young
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sean Young 2005-04-14 09:51:53 UTC
I've used the snprintf.c in my own project and found that it cannot print
ULLONG_MAX as the convert buffer is too small in fmtint() (off-by-one).
Comment 1 Sean Young 2005-04-14 10:20:27 UTC
Created attachment 1156 [details]
Fixes long long problems
Comment 2 Sean Young 2005-04-14 10:21:35 UTC
Also other long long issues resolved