[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/27686] New: windres: fails with "nul bytes found in versio
From: |
mark at harmstone dot com |
Subject: |
[Bug binutils/27686] New: windres: fails with "nul bytes found in version string" |
Date: |
Fri, 02 Apr 2021 12:11:19 +0000 |
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.
- [Bug binutils/27686] New: windres: fails with "nul bytes found in version string",
mark at harmstone dot com <=
- [Bug binutils/27686] windres: fails with "nul bytes found in version string", nickc at redhat dot com, 2021/04/06
- [Bug binutils/27686] windres: fails with "nul bytes found in version string", nickc at redhat dot com, 2021/04/06
- [Bug binutils/27686] windres: fails with "nul bytes found in version string", cvs-commit at gcc dot gnu.org, 2021/04/14
- [Bug binutils/27686] windres: fails with "nul bytes found in version string", nickc at redhat dot com, 2021/04/14
- [Bug binutils/27686] windres: fails with "nul bytes found in version string", nickc at redhat dot com, 2021/04/14