bug-binutils
[Top][All Lists]
Advanced

[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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]