View Issue Details

IDProjectCategoryView StatusLast Update
0002898unrealircdpublic2007-06-11 16:02
ReporterXuefer Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionwont fix 
Product Version3.2.4 
Summary0002898: VStudio 2005: "unreal.exe install" buffer overflow..crash
Descriptionexecute: unreal.exe install
if the build crash, it will always crash, not random, until recompile with different compiler options, but i don't have a options list yet.
tested with
/MT(or /MD) /O2
/MDd(or MDd) /Zi /O2 /RTC1
can't reproduce sometimes with /Od but not sure.
it crash after unreal.c return 0;
exit(0); works fine.

=================
- uChangeServiceConfig2(hService, SERVICE_CONFIG_DESCRIPTION, &info);
 "works".
=================
but
- typedef BOOL (*UCHANGESERVICECONFIG2)(SC_HANDLE, DWORD, LPVOID);
+ typedef BOOL (WINAPI *UCHANGESERVICECONFIG2)(SC_HANDLE, DWORD, LPVOID);
does not help. although i think adding WINAPI make it more consistent with winsvc.h
=================
3rd party modules

Activities

syzop

2006-04-29 14:58

administrator   ~0011660

Odd @return/exit/bufferoverflow

I did notice it incorrectly did this change description stuff even if install failed, this has now been fixed in CVS (same for closing a null handle).

Xuefer

2006-04-29 20:51

reporter   ~0011668

yeah. i didn't notice the bug u fixed.
but it still crash
unreal.exe uninstall (ok)
unreal.exe install (crash, but installed correctly with the description)
no problem with mingw(gcc -mno-cygwin) (and older vc compiler i guess)
i wonder if it's a compiler bug.

stskeeps

2007-04-27 03:07

reporter   ~0013765

Bump. still an issue?

stskeeps

2007-06-11 16:02

reporter   ~0014324

Suspended due to lack of feedback, please resubmit or reopen if this still is an issue.

Issue History

Date Modified Username Field Change
2006-04-29 05:52 Xuefer New Issue
2006-04-29 14:58 syzop Note Added: 0011660
2006-04-29 20:51 Xuefer Note Added: 0011668
2007-04-27 03:07 stskeeps Note Added: 0013765
2007-04-27 03:07 stskeeps Status new => feedback
2007-06-11 16:02 stskeeps Status feedback => closed
2007-06-11 16:02 stskeeps Note Added: 0014324
2007-06-11 16:02 stskeeps Resolution open => wont fix