https://sourceware.org/bugzilla/show_bug.cgi?id=27686
Bug ID: 27686
Summary: windres: fails with "nul bytes found in version
string"
Product: binutils
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: mark at harmstone dot com
Target Milestone: ---
Created attachment 13343
--> https://sourceware.org/bugzilla/attachment.cgi?id=13343&action=edit
patch
Recent versions of RC.EXE seem to add more padding to the end of version blocks
than windres is expecting, leading to this error message. I probably can't
attach a sample here, but this is the case for all versions of Windows 10
Notepad that I've encountered - let me know if you can't reproduce.
The solution would seem to be for windres to only consider the stated length of
the version block, and ignore the length of the surrounding resource entry -
see the attached patch, which fixes the issue.
--
You are receiving this mail because:
You are on the CC list for the bug.