Opened 16 years ago
Closed 16 years ago
#4439 closed patch (invalid)
sprintf -> snprintf under WIn32
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythtv | Version: | unknown |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
PROBLEM:
./mpegts.o: In function `dlerror': c:/mythtv/mythtv/libs/libavformat/../libmyth/compat.h:205: undefined reference to `sprintf_is_forbidden_due_to_security_issues_use_snprintf' collect2: ld returned 1 exit status
Attachments (2)
Change History (6)
Changed 16 years ago by
Attachment: | snprintf_win32.patch added |
---|
Changed 16 years ago by
Attachment: | snprintf_win32_LF.patch added |
---|
same file, but with Unix line terminators to keep trac happy.
comment:1 Changed 16 years ago by
sorry guys.. either of these is equivalent, I don't know why trac fails to render the unified diff properly when viewed in a browser, I though it was the line terminators, but it appears not to be. anyone?
comment:2 Changed 16 years ago by
Is this not fixed in r15356?
About the trac reason for the patch, normally the .patch files are in a different format with '-' and '+' and not really any '!' in them(at least from what I have seen)
comment:3 Changed 16 years ago by
So it is, I was just running a tiny bit behind HEAD . sorry forthe noise. lest call this closed/cancelled?
comment:4 Changed 16 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
fixes issue with sprintf on Win32 by replacing with snprintf