|
From: SourceForge.net <no...@so...> - 2007-05-13 14:59:58
|
Bugs item #1718172, was opened at 2007-05-13 08:00 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373085&aid=1718172&group_id=22049 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Relative jump past macro can give "Invalid Opcode" error Initial Comment: This bug has been present in the past few versions, and is still there in 2.27. A relative jump past a macro can give a corrupted installer which terminates abruptly with an error message, for instance Goto +2 ${WordFind} ... Error message popup: "Installer corrupted: invalid opcode" To reproduce the error, simply compile and run the following sample script, also attached as a file. Since reproduction is straight-forward and I don't know if the email address might show up on the web somewhere, I don't include any contact details. --- !include "WordFunc.nsh" !insertmacro WordFind outfile "ErrorInvalidOpcode.exe" Section ; +2 intending goto DetailPrint line ; Actually ends up somewhere inside WordFind Goto +2 ${WordFind} "" "" "1" $R0 DetailPrint "ok"; SectionEnd ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373085&aid=1718172&group_id=22049 |