| Summary: | coredump in sprintf with long long args | ||
|---|---|---|---|
| Product: | Base System | Reporter: | cynbe <cynbe> |
| Component: | misc | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 2.2.7-RELEASE | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
cynbe
1999-11-20 00:20:00 UTC
I get the following from your program using FreeBSD 3.3-RELEASE: buffer = 'date:1999/11/19/13:15:22.984 muq:205.178.016.044:30023 job: user: msg: ' So I believe whatever problem you are having may already been fixed. You may want to upgrade to a more recent release (2.2.7 is a little dated.) - Dave Rivers - State Changed From-To: open->closed Thomas David Rivers <rivers@dignus.com> reports that this works in later versions of FreeBSD. 2.2.7 is rather outdated. The submitter must be on some fine crack to think we're switching to glibc. State Changed From-To: closed->analyzed To actually explain the problem. The problem is a printf format error. The nonstandard format "%lld" was not supported in FreeBSD until FreeBSD-3.2. The 4.4BSD format "%qd" must be used to print long longs (at least on i386's) under earler versions. State Changed From-To: analyzed->closed Now it's really closed. |