Bug #1898
closedClient Export on 2.0 Release creates corrupted Windows installers
100%
Description
The first few bytes of the corrupted executable are
.Warning: Missing argument 8 for openvpn_client_export_installer(), called in /usr/local/www/vpn_openvpn_export.php on line 336 and defined in /usr/local/pkg/openvpn-client-export.inc on line 278.MZ..........
This message doesn't appear in the working executable.
Issue is discussed and a possible fix is proposed in http://forum.pfsense.org/index.php/topic,41180.0.html
Updated by Jim Pingle about 13 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset commit:6be59d2855f40efaae5b2823df8f79a9a5d8a1df.
Updated by Chris Buechler almost 13 years ago
- Status changed from Feedback to Resolved
Updated by c c about 12 years ago
This issue is appearing again on 2.0.1 with the new 0.26 client export. Was working previously on 0.24, uninstalled and updated to 0.26 and all exported executables are corrupted. When run from console, I get "program too big to fit in memory" (Windows XP x86, with either 2.2 or 2.3 beta export).
Updated by c c about 12 years ago
Also, as with the error above, here is the first few line of the generated executable when viewed from notepad:
Warning: rename(openvpnmanager/openvpn-postinstall.exe,openvpn-postinstall.exe): No such file or directory in /usr/local/pkg/openvpn-client-export.inc on line 525 MZ ÿÿ ¸ @ ø º ´ Í!¸LÍ!This program cannot be run in DOS mode.
Updated by Jim Pingle about 12 years ago
Can you reinstall the package and try again? The server that runs files.pfsense.org was switched the other day and I think the one that's active now had an out-of-date version of that archive. I uploaded a fresh copy just now.
Updated by c c about 12 years ago
Update the second, it looks like removing the top two lines of the executable down to "on line 525" uncorrupts the exe.