[Mono-bugs] [Bug 446172] the main() generated by mkbundle2 should be Unicode aware

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon May 11 16:30:15 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=446172

User kornelpal at gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=446172#c5


Kornél Pál <kornelpal at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kornelpal at gmail.com




--- Comment #5 from Kornél Pál <kornelpal at gmail.com>  2009-05-11 14:30:14 MDT ---
Some notes on your patch:

Please see
http://anonsvn.mono-project.com/viewvc/trunk/mono/mono/mini/main.c?revision=HEAD&view=markup

You should call LocalFree before calling mono_main.

You shouldn't use argc on Windows because CommandLineToArgvW may return a
different value. It is possible because uses a different implementation than
libc. As such this is a buffer overrun issue as well.

I would recommed to add quoting support to MONO_BUNDLED_OPTIONS it's not that
difficult Mono already contains code for that.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list