Bug 51755
Summary: | gcc-2.96-95 compiled binary segfaults in vfprintf() | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Need Real Name <kbieltz> | ||||
Component: | gcc | Assignee: | Jakub Jelinek <jakub> | ||||
Status: | CLOSED NOTABUG | QA Contact: | David Lawrence <dkl> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.1 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2001-08-15 13:16:29 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Need Real Name
2001-08-14 19:50:41 UTC
Created attachment 27813 [details]
Backtrace generated by gbd on core file.
If the backtrace is correct, then I don't wonder why it segfaults. Calling vfprintf with format string "... 200% SUCCESS" looks like something that was not intended (I strongly doubt you want to insert space padded wide character string between 200 and UCCESS). It is well possible that when you compile the thing with other compiler other value will be on the stack after last given argument, so wcslen will e.g. return 0 and not segfault. Jakub, Thanks! I was completely over looking the '%' symbol in the format string. Kathy Bieltz |