reactos.git
13 years agosync to trunk revision 36500
Timo Kreuzer [Mon, 20 Oct 2008 15:46:20 +0000 (15:46 +0000)]
sync to trunk revision 36500

svn path=/branches/ros-amd64-bringup/; revision=36846

13 years agosync to trunk revision 36100
Timo Kreuzer [Mon, 20 Oct 2008 15:13:53 +0000 (15:13 +0000)]
sync to trunk revision 36100

svn path=/branches/ros-amd64-bringup/; revision=36845

13 years agodisplay unexpected interrupts
Timo Kreuzer [Mon, 20 Oct 2008 12:22:41 +0000 (12:22 +0000)]
display unexpected interrupts

svn path=/branches/ros-amd64-bringup/; revision=36842

13 years ago- set the new idt in the pcr
Timo Kreuzer [Mon, 20 Oct 2008 12:21:07 +0000 (12:21 +0000)]
- set the new idt in the pcr

svn path=/branches/ros-amd64-bringup/; revision=36841

13 years agofix __rdtsc on amd64 build, "=A" doesn't work.
Timo Kreuzer [Mon, 20 Oct 2008 12:17:06 +0000 (12:17 +0000)]
fix __rdtsc on amd64 build, "=A" doesn't work.

svn path=/branches/ros-amd64-bringup/; revision=36840

13 years agoSet svn:eol-style property
Samuel Serapion [Sun, 12 Oct 2008 19:15:57 +0000 (19:15 +0000)]
Set svn:eol-style property

svn path=/branches/ros-amd64-bringup/; revision=36734

13 years agoStub setjmp and longjmp on freetype. This hack should be removed.
Samuel Serapion [Sun, 12 Oct 2008 07:17:20 +0000 (07:17 +0000)]
Stub setjmp and longjmp on freetype. This hack should be removed.

svn path=/branches/ros-amd64-bringup/; revision=36726

13 years agoFix: "1" may not appear in macro parameter list
Samuel Serapion [Sun, 12 Oct 2008 06:58:31 +0000 (06:58 +0000)]
Fix: "1" may not appear in macro parameter list

svn path=/branches/ros-amd64-bringup/; revision=36725

13 years agoSorry forgot this one. Fix build.
Timo Kreuzer [Fri, 10 Oct 2008 23:35:34 +0000 (23:35 +0000)]
Sorry forgot this one. Fix build.

svn path=/branches/ros-amd64-bringup/; revision=36710

13 years agoFinally convert gdi32 to spec file.
Samuel Serapion [Tue, 7 Oct 2008 04:05:18 +0000 (04:05 +0000)]
Finally convert gdi32 to spec file.

svn path=/branches/ros-amd64-bringup/; revision=36673

13 years agoFix incorrect parameter counts for NtGdiEngCreateBitmap, NtGdiEngCreateDeviceSurface...
Samuel Serapion [Tue, 7 Oct 2008 04:03:36 +0000 (04:03 +0000)]
Fix incorrect parameter counts for NtGdiEngCreateBitmap, NtGdiEngCreateDeviceSurface, NtGdiEngCreateDeviceBitmap.
Don't worry these were just stubs.

svn path=/branches/ros-amd64-bringup/; revision=36672

13 years agoConvert to spec.
Samuel Serapion [Wed, 1 Oct 2008 16:39:19 +0000 (16:39 +0000)]
Convert to spec.
Fix definitions (taken from WINE).

svn path=/branches/ros-amd64-bringup/; revision=36614

13 years agofix usage of InterlockedIncrement
Timo Kreuzer [Wed, 1 Oct 2008 09:44:53 +0000 (09:44 +0000)]
fix usage of InterlockedIncrement

svn path=/branches/ros-amd64-bringup/; revision=36605

13 years agoremove duplicate definitions
Timo Kreuzer [Sun, 28 Sep 2008 10:56:06 +0000 (10:56 +0000)]
remove duplicate definitions

svn path=/branches/ros-amd64-bringup/; revision=36570

13 years agoWork around bug 3746. Use arch specific def files.
Samuel Serapion [Sun, 28 Sep 2008 08:47:44 +0000 (08:47 +0000)]
Work around bug 3746. Use arch specific def files.

svn path=/branches/ros-amd64-bringup/; revision=36562

13 years agoFix the "fix".
Timo Kreuzer [Thu, 25 Sep 2008 15:56:14 +0000 (15:56 +0000)]
Fix the "fix".

svn path=/branches/ros-amd64-bringup/; revision=36511

13 years agoConvert to spec.
Samuel Serapion [Thu, 25 Sep 2008 05:43:26 +0000 (05:43 +0000)]
Convert to spec.
Protect _WIN32_WINNT from redefinition warning.

svn path=/branches/ros-amd64-bringup/; revision=36505

13 years agoFix redefinition warning.
Samuel Serapion [Thu, 25 Sep 2008 05:15:16 +0000 (05:15 +0000)]
Fix redefinition warning.

svn path=/branches/ros-amd64-bringup/; revision=36504

13 years agoRemove hack in cstub.c, it was caused by a hack in the rbuild file.
Samuel Serapion [Thu, 25 Sep 2008 05:13:21 +0000 (05:13 +0000)]
Remove hack in cstub.c, it was caused by a hack in the rbuild file.
Fix fill_table() definition for non i386.

svn path=/branches/ros-amd64-bringup/; revision=36503

13 years ago- Convert to spec.
Samuel Serapion [Thu, 25 Sep 2008 04:27:03 +0000 (04:27 +0000)]
- Convert to spec.
- No need to assert an offset thats only used in i386 specific code.

svn path=/branches/ros-amd64-bringup/; revision=36502

13 years ago - Try again to fix build
Cameron Gutman [Thu, 25 Sep 2008 00:01:39 +0000 (00:01 +0000)]
 - Try again to fix build

svn path=/trunk/; revision=36499

13 years ago - Fix build
Cameron Gutman [Wed, 24 Sep 2008 23:48:28 +0000 (23:48 +0000)]
 - Fix build

svn path=/trunk/; revision=36498

13 years agoMerge aicom-network-fixes up to r36496
Cameron Gutman [Wed, 24 Sep 2008 23:39:17 +0000 (23:39 +0000)]
Merge aicom-network-fixes up to r36496
 - We now call the MiniportCheckForHang handler every two seconds
 - We reset the miniport if it has detected a hang
 - Added some IRQL checks

svn path=/trunk/; revision=36497

13 years ago- MiQueryVirtualMemory shouldn't be called for kernel memory, so remove the special...
Stefan Ginsberg [Wed, 24 Sep 2008 19:13:08 +0000 (19:13 +0000)]
- MiQueryVirtualMemory shouldn't be called for kernel memory, so remove the special case code for a kernel address space. Also fixes a case where we would dereference an uninitialized pointer.
- Fix for Coverity Error CID: 773

svn path=/trunk/; revision=36494

13 years ago- Remove deprecated macro
Stefan Ginsberg [Wed, 24 Sep 2008 18:47:24 +0000 (18:47 +0000)]
- Remove deprecated macro

svn path=/trunk/; revision=36493

13 years ago- Add ObpValidateAccessMask stub (only returns success for now) and call it from...
Stefan Ginsberg [Wed, 24 Sep 2008 17:32:14 +0000 (17:32 +0000)]
- Add ObpValidateAccessMask stub (only returns success for now) and call it from ObInsertObject
- Fix for Coverity Error CID: 9

svn path=/trunk/; revision=36491

13 years ago- HalpXboxReadSector: Fail if we are out of memory instead of dereferencing null
Stefan Ginsberg [Wed, 24 Sep 2008 17:16:25 +0000 (17:16 +0000)]
- HalpXboxReadSector: Fail if we are out of memory instead of dereferencing null
- Fix for Coverity error CID: 464

svn path=/trunk/; revision=36490

13 years ago- IoFlushAdapterBuffers: "AdapterObject" is not an optional parameter, it is vital...
Stefan Ginsberg [Wed, 24 Sep 2008 17:11:35 +0000 (17:11 +0000)]
- IoFlushAdapterBuffers: "AdapterObject" is not an optional parameter, it is vital to identify the DMA adapter. Remove the check which confused Coverity and ASSERTify this instead.
- Fix for Coverity error CID: 155

svn path=/trunk/; revision=36489

13 years agomore correct fix
Christoph von Wittich [Wed, 24 Sep 2008 16:57:29 +0000 (16:57 +0000)]
more correct fix

svn path=/trunk/; revision=36488

13 years ago- IopGetDiskInformation: Fail if we are out of memory instead of dereferencing null
Stefan Ginsberg [Wed, 24 Sep 2008 16:37:35 +0000 (16:37 +0000)]
- IopGetDiskInformation: Fail if we are out of memory instead of dereferencing null
- Fix for Coverity error CID: 469
- Also fix a (potential) memory leak

svn path=/trunk/; revision=36487

13 years ago- Only dereference the KCB if we know it exists
Stefan Ginsberg [Wed, 24 Sep 2008 16:19:52 +0000 (16:19 +0000)]
- Only dereference the KCB if we know it exists
- Fix for Coverity error CID: 279

svn path=/trunk/; revision=36486

13 years agocheck for value > 0 before using it as array index
Christoph von Wittich [Wed, 24 Sep 2008 15:42:33 +0000 (15:42 +0000)]
check for value > 0 before using it as array index
Fix for Coverity error CID: 438

svn path=/trunk/; revision=36485

13 years ago- 64 bit fixes for Mm routines: Use SIZE_T and ULONG_PTR where appropriate
Stefan Ginsberg [Wed, 24 Sep 2008 15:27:54 +0000 (15:27 +0000)]
- 64 bit fixes for Mm routines: Use SIZE_T and ULONG_PTR where appropriate
- Note: MSDN is wrong about Nt/ZwAllocateVirtualMemory's ZeroBits. It really is a ULONG_PTR.

svn path=/trunk/; revision=36484

13 years ago- FsRtlBalanceReads: Fail if we are out of memory instead of dereferencing null
Stefan Ginsberg [Wed, 24 Sep 2008 15:04:59 +0000 (15:04 +0000)]
- FsRtlBalanceReads: Fail if we are out of memory instead of dereferencing null
- Fix for Coverity error CID: 465

svn path=/trunk/; revision=36483

13 years ago- RawQueryFsSizeInfo: Fail if we are out of memory instead of dereferencing null
Stefan Ginsberg [Wed, 24 Sep 2008 14:53:28 +0000 (14:53 +0000)]
- RawQueryFsSizeInfo: Fail if we are out of memory instead of dereferencing null

svn path=/trunk/; revision=36482

13 years ago- Fix some non-x86 FLOATOBJ_*
Stefan Ginsberg [Wed, 24 Sep 2008 14:01:43 +0000 (14:01 +0000)]
- Fix some non-x86 FLOATOBJ_*

svn path=/trunk/; revision=36481

13 years agoFix leaks reported by coverity 612-615. In each case, it'd be safe to free
Art Yerkes [Wed, 24 Sep 2008 13:35:37 +0000 (13:35 +0000)]
Fix leaks reported by coverity 612-615.  In each case, it'd be safe to free
NULL, and failure to allocate isn't the only dropthrough case, leading to
conversion buffer leaks.

svn path=/trunk/; revision=36480

13 years agoFix my copypasta spotted by (coverity 1294)
Art Yerkes [Wed, 24 Sep 2008 12:56:30 +0000 (12:56 +0000)]
Fix my copypasta spotted by (coverity 1294)

svn path=/trunk/; revision=36479

13 years agoSmall 64bit fix.
Samuel Serapion [Wed, 24 Sep 2008 12:33:59 +0000 (12:33 +0000)]
Small 64bit fix.

svn path=/branches/ros-amd64-bringup/; revision=36477

13 years agoadd gdi32.spec taken from wine 1.13
Timo Kreuzer [Wed, 24 Sep 2008 12:21:04 +0000 (12:21 +0000)]
add gdi32.spec taken from wine 1.13

svn path=/branches/ros-amd64-bringup/; revision=36476

13 years ago- Fix ReadProcessMemory and Toolhelp32ReadProcessMemory definitions.
Samuel Serapion [Wed, 24 Sep 2008 12:03:27 +0000 (12:03 +0000)]
- Fix ReadProcessMemory and Toolhelp32ReadProcessMemory definitions.
- Numerous 64bit fixes.
- Remove useless cast.
- Remove Fls API exports as per trunk.

svn path=/branches/ros-amd64-bringup/; revision=36475

13 years agoFix ReadProcessMemory and Toolhelp32ReadProcessMemory prototypes.
Samuel Serapion [Wed, 24 Sep 2008 12:01:07 +0000 (12:01 +0000)]
Fix ReadProcessMemory and Toolhelp32ReadProcessMemory prototypes.

svn path=/branches/ros-amd64-bringup/; revision=36474

13 years agoremove unneeded "fixes"
Samuel Serapion [Wed, 24 Sep 2008 11:38:39 +0000 (11:38 +0000)]
remove unneeded "fixes"

svn path=/branches/ros-amd64-bringup/; revision=36473

13 years agoBug 3726: Translate file: netshell by Lars Martin Hambro
Daniel Reimer [Wed, 24 Sep 2008 11:22:08 +0000 (11:22 +0000)]
Bug 3726: Translate file: netshell by Lars Martin Hambro
Bug 3729: Italian translation update by Paolo Devoti
Bug 3738: slovak translations and fixes by Mario Kacmar
Bug 3741: Korean translation of Taskmgr by Sengyu Kim

svn path=/trunk/; revision=36472

13 years ago- remove old test code
Timo Kreuzer [Wed, 24 Sep 2008 11:17:33 +0000 (11:17 +0000)]
- remove old test code

svn path=/trunk/; revision=36471

13 years agoConvert to spec. Minor 64bit fixes.
Samuel Serapion [Wed, 24 Sep 2008 10:52:32 +0000 (10:52 +0000)]
Convert to spec. Minor 64bit fixes.

svn path=/branches/ros-amd64-bringup/; revision=36470

13 years agoFix NetLocalGroupGetMembers prototype.
Samuel Serapion [Wed, 24 Sep 2008 10:50:50 +0000 (10:50 +0000)]
Fix NetLocalGroupGetMembers prototype.

svn path=/branches/ros-amd64-bringup/; revision=36469

13 years agoAdd MemoryBarrier definition for amd64
Timo Kreuzer [Wed, 24 Sep 2008 10:45:58 +0000 (10:45 +0000)]
Add MemoryBarrier definition for amd64

svn path=/branches/ros-amd64-bringup/; revision=36468

13 years agoConvert to spec. two for the price of one.
Samuel Serapion [Wed, 24 Sep 2008 10:45:05 +0000 (10:45 +0000)]
Convert to spec. two for the price of one.

svn path=/branches/ros-amd64-bringup/; revision=36467

13 years agoConvert to spec. Minor 64bit fixes.
Samuel Serapion [Wed, 24 Sep 2008 10:41:39 +0000 (10:41 +0000)]
Convert to spec. Minor 64bit fixes.

svn path=/branches/ros-amd64-bringup/; revision=36466

13 years agoConvert to spec.
Samuel Serapion [Wed, 24 Sep 2008 10:41:07 +0000 (10:41 +0000)]
Convert to spec.

svn path=/branches/ros-amd64-bringup/; revision=36465

13 years agoMinor 64bit fix.
Samuel Serapion [Wed, 24 Sep 2008 10:35:36 +0000 (10:35 +0000)]
Minor 64bit fix.

svn path=/branches/ros-amd64-bringup/; revision=36464

13 years agoConvert to spec.
Samuel Serapion [Wed, 24 Sep 2008 10:33:46 +0000 (10:33 +0000)]
Convert to spec.

svn path=/branches/ros-amd64-bringup/; revision=36463

13 years agoConvert to spec.
Samuel Serapion [Wed, 24 Sep 2008 10:28:59 +0000 (10:28 +0000)]
Convert to spec.

svn path=/branches/ros-amd64-bringup/; revision=36462

13 years agoConvert to spec.
Samuel Serapion [Wed, 24 Sep 2008 10:26:21 +0000 (10:26 +0000)]
Convert to spec.

svn path=/branches/ros-amd64-bringup/; revision=36461

13 years agoMinor 64bit fixes.
Samuel Serapion [Wed, 24 Sep 2008 10:18:20 +0000 (10:18 +0000)]
Minor 64bit fixes.

svn path=/branches/ros-amd64-bringup/; revision=36460

13 years ago- Create a VdmpInitialize function for NtVdmControl's initialize command.
Aleksey Bragin [Wed, 24 Sep 2008 10:06:08 +0000 (10:06 +0000)]
- Create a VdmpInitialize function for NtVdmControl's initialize command.
- Remove NtEarlyVdmInitialize hack and csrss IVT/BDA copying hack, instead, copy the first page of physical memory to the beginning of process's virtual address space like NT does.

svn path=/trunk/; revision=36459

13 years agoConvert to spec.
Samuel Serapion [Wed, 24 Sep 2008 10:05:05 +0000 (10:05 +0000)]
Convert to spec.
Sprinkle IntToPtr all over mouse.c

svn path=/branches/ros-amd64-bringup/; revision=36458

13 years agoConvert to spec.
Samuel Serapion [Wed, 24 Sep 2008 09:51:33 +0000 (09:51 +0000)]
Convert to spec.
Use tabs in rbuild file.

svn path=/branches/ros-amd64-bringup/; revision=36457

13 years agoConvert to spec.
Samuel Serapion [Wed, 24 Sep 2008 09:49:25 +0000 (09:49 +0000)]
Convert to spec.

svn path=/branches/ros-amd64-bringup/; revision=36456

13 years agoConvert to spec.
Samuel Serapion [Wed, 24 Sep 2008 09:48:04 +0000 (09:48 +0000)]
Convert to spec.

svn path=/branches/ros-amd64-bringup/; revision=36455

13 years agoMinor 64bit fixes.
Samuel Serapion [Wed, 24 Sep 2008 09:44:39 +0000 (09:44 +0000)]
Minor 64bit fixes.

svn path=/branches/ros-amd64-bringup/; revision=36454

13 years agoConvert to spec.
Samuel Serapion [Wed, 24 Sep 2008 09:41:42 +0000 (09:41 +0000)]
Convert to spec.

svn path=/branches/ros-amd64-bringup/; revision=36453

13 years agoConvert appwiz.cpl to spec
Samuel Serapion [Wed, 24 Sep 2008 09:39:44 +0000 (09:39 +0000)]
Convert appwiz.cpl to spec

svn path=/branches/ros-amd64-bringup/; revision=36452

13 years agoJuriy Sidorov <jura@cp-lab.com>
Aleksey Bragin [Wed, 24 Sep 2008 08:17:15 +0000 (08:17 +0000)]
Juriy Sidorov <jura@cp-lab.com>
- Fix existing font substitutions.
- Add FreeMono as substitution for Courier and Courier New.
- Optimize font substitution tables and make them easy to maintain.
See issue #3483 for more details.

svn path=/trunk/; revision=36451

13 years ago- Make SmCreateUserProcess accept two flags: the old "wait for" one, and a new "reser...
Aleksey Bragin [Wed, 24 Sep 2008 08:12:41 +0000 (08:12 +0000)]
- Make SmCreateUserProcess accept two flags: the old "wait for" one, and a new "reserve 1Mb" one. NT reserves lower 1MB of address space when starting a subsystem process. ReactOS should too, however right now this change is disabled (leads to boot problems).

svn path=/trunk/; revision=36450

13 years agoRemove a overzealous check. MSDN says to avoid calling with NumberOfBytes == 0,...
Andrew Munger [Wed, 24 Sep 2008 07:52:19 +0000 (07:52 +0000)]
Remove a overzealous check.  MSDN says to avoid calling with NumberOfBytes == 0, but it is valid.
Addresses bug 3715.

svn path=/trunk/; revision=36449

13 years agoSorry, these are DialogBoxParams.:(
Samuel Serapion [Wed, 24 Sep 2008 07:33:48 +0000 (07:33 +0000)]
Sorry, these are DialogBoxParams.:(

svn path=/branches/ros-amd64-bringup/; revision=36448

13 years agoFix 64bit warnings/errors.
Samuel Serapion [Wed, 24 Sep 2008 05:08:25 +0000 (05:08 +0000)]
Fix 64bit warnings/errors.

svn path=/branches/ros-amd64-bringup/; revision=36447

13 years agoIt is blasphemy to say that DLGPROC returns BOOL.
Samuel Serapion [Wed, 24 Sep 2008 05:06:55 +0000 (05:06 +0000)]
It is blasphemy to say that DLGPROC returns BOOL.

svn path=/branches/ros-amd64-bringup/; revision=36446

13 years agoMinor 64bit fixes.
Samuel Serapion [Wed, 24 Sep 2008 04:36:35 +0000 (04:36 +0000)]
Minor 64bit fixes.

svn path=/branches/ros-amd64-bringup/; revision=36445

13 years agoFix 64bit warning.
Samuel Serapion [Wed, 24 Sep 2008 04:24:45 +0000 (04:24 +0000)]
Fix 64bit warning.

svn path=/branches/ros-amd64-bringup/; revision=36444

13 years agoRemove references to Infp Functions that collide with inflib names, call the actual...
Samuel Serapion [Wed, 24 Sep 2008 04:07:16 +0000 (04:07 +0000)]
Remove references to Infp Functions that collide with inflib names, call the actual functions instead of making small functions that shared the same parameters and just called into inflib anyway, with no changes whatsoever.
Make InfpGetIntField's 3rd parameter an INT*

svn path=/branches/ros-amd64-bringup/; revision=36443

13 years ago- Fix ~4.4 million handle limit bug due to memory corruption. ReactOS can now create...
Aleksey Bragin [Tue, 23 Sep 2008 20:44:31 +0000 (20:44 +0000)]
- Fix ~4.4 million handle limit bug due to memory corruption. ReactOS can now create 16 million handles as expected (thanks Alex).

svn path=/trunk/; revision=36439

13 years ago- Attempt satisfy Alex
Stefan Ginsberg [Tue, 23 Sep 2008 19:54:13 +0000 (19:54 +0000)]
- Attempt satisfy Alex

svn path=/trunk/; revision=36436

13 years agoDon't risk a negative array subscript. Fixes our one and only REVERSE_NEGATIVE error
Ged Murphy [Tue, 23 Sep 2008 19:02:32 +0000 (19:02 +0000)]
Don't risk a negative array subscript. Fixes our one and only REVERSE_NEGATIVE error
Fix for Coverity error CID: 766

svn path=/trunk/; revision=36435

13 years agoreturn correct value in SETUPAPI_GetCurrentHwProfile
Christoph von Wittich [Tue, 23 Sep 2008 18:44:58 +0000 (18:44 +0000)]
return correct value in SETUPAPI_GetCurrentHwProfile
Fix for Coverity error CID: 782

svn path=/trunk/; revision=36434

13 years agoD3D9:
Gregor Brunmar [Tue, 23 Sep 2008 17:01:40 +0000 (17:01 +0000)]
D3D9:
* More init values when creating a texture

svn path=/trunk/; revision=36429

13 years ago- Add basic tracing to CmpReferenceKeyControlBlock, CmpDereferenceKeyControlBlock...
Stefan Ginsberg [Tue, 23 Sep 2008 14:15:56 +0000 (14:15 +0000)]
- Add basic tracing to CmpReferenceKeyControlBlock, CmpDereferenceKeyControlBlock and CmpDereferenceKeyControlBlockWithLock

svn path=/trunk/; revision=36428

13 years ago- In success cases of NtAllocateVirtualMemory, return the real (page rounded!) base...
Aleksey Bragin [Tue, 23 Sep 2008 12:41:02 +0000 (12:41 +0000)]
- In success cases of NtAllocateVirtualMemory, return the real (page rounded!) base address and region size, not the possibly unaligned pointer and length which were passed to the function. These cases were hit when a region of memory was previously reserved, then a commit request came with unaligned base address and length, which match that previously reserved region after aligning.

svn path=/trunk/; revision=36427

13 years ago[FORMATTING]
Aleksey Bragin [Tue, 23 Sep 2008 11:45:40 +0000 (11:45 +0000)]
[FORMATTING]
- Reformat to the kernel coding style.

svn path=/trunk/; revision=36426

13 years ago[FORMATTING]
Aleksey Bragin [Tue, 23 Sep 2008 10:47:10 +0000 (10:47 +0000)]
[FORMATTING]
- Apply standard header.

svn path=/trunk/; revision=36425

13 years agoDidn't notice that bufferSize is used by RegQueryValueEx. Now we count in
Art Yerkes [Tue, 23 Sep 2008 10:17:27 +0000 (10:17 +0000)]
Didn't notice that bufferSize is used by RegQueryValueEx.  Now we count in
bytes with bufferSize and count in chars just in the subscript.

Noticed by Christoph_Vw

svn path=/trunk/; revision=36424

13 years agoInitialize DbgLoadOptions from the start. It would be unitialized if a bootcd
Art Yerkes [Tue, 23 Sep 2008 09:36:23 +0000 (09:36 +0000)]
Initialize DbgLoadOptions from the start.  It would be unitialized if a bootcd
was made without having the right section in txtsetup.sif.

svn path=/trunk/; revision=36423

13 years agoCount the end of the szApplicationName in the right units. (coverity 551).
Art Yerkes [Tue, 23 Sep 2008 09:28:44 +0000 (09:28 +0000)]
Count the end of the szApplicationName in the right units. (coverity 551).

svn path=/trunk/; revision=36422

13 years agoFix a legitimate overrun in _widths (coverity 575), and try not to be as
Art Yerkes [Tue, 23 Sep 2008 09:09:16 +0000 (09:09 +0000)]
Fix a legitimate overrun in _widths (coverity 575), and try not to be as
clever.

svn path=/trunk/; revision=36421

13 years agoThis bug could've caused mayhem in the icon cache. (coverity 790).
Art Yerkes [Tue, 23 Sep 2008 08:58:19 +0000 (08:58 +0000)]
This bug could've caused mayhem in the icon cache.  (coverity 790).

svn path=/trunk/; revision=36420

13 years agoFix possible overrun of the last byte of dbuf (coverity 552).
Art Yerkes [Tue, 23 Sep 2008 08:43:49 +0000 (08:43 +0000)]
Fix possible overrun of the last byte of dbuf (coverity 552).

svn path=/trunk/; revision=36419

13 years agooverrun of static array
Christoph von Wittich [Tue, 23 Sep 2008 08:04:57 +0000 (08:04 +0000)]
overrun of static array
Fix for Coverity error CID: 529

svn path=/trunk/; revision=36418

13 years ago- The check for SystemHive being non-NULL is meaningless, because CmpInitializeHive...
Aleksey Bragin [Tue, 23 Sep 2008 08:04:23 +0000 (08:04 +0000)]
- The check for SystemHive being non-NULL is meaningless, because CmpInitializeHive is already checked for failure earlier, and in success case it returns a valid Hive.
- Fix for Coverity error CID: 280

svn path=/trunk/; revision=36417

13 years agooverrun of static array
Christoph von Wittich [Tue, 23 Sep 2008 07:50:59 +0000 (07:50 +0000)]
overrun of static array
Fix for Coverity error CID: 532

svn path=/trunk/; revision=36416

13 years agooverrun of static array
Christoph von Wittich [Tue, 23 Sep 2008 07:44:15 +0000 (07:44 +0000)]
overrun of static array
Fix for Coverity error CID: 552

svn path=/trunk/; revision=36415

13 years ago- Preinitialize ValueData with NULL.
Aleksey Bragin [Tue, 23 Sep 2008 07:40:40 +0000 (07:40 +0000)]
- Preinitialize ValueData with NULL.
- Fix for Coverity error CID: 772.

svn path=/trunk/; revision=36414

13 years agooverrun of static array
Christoph von Wittich [Tue, 23 Sep 2008 07:38:00 +0000 (07:38 +0000)]
overrun of static array
Fix for Coverity error CID: 546 + 547.

svn path=/trunk/; revision=36413

13 years agooverrun of static array
Christoph von Wittich [Tue, 23 Sep 2008 07:33:44 +0000 (07:33 +0000)]
overrun of static array
Fix for Coverity error CID: 548.

svn path=/trunk/; revision=36412

13 years agodon't free memory which is not allocated yet
Christoph von Wittich [Tue, 23 Sep 2008 07:05:18 +0000 (07:05 +0000)]
don't free memory which is not allocated yet
Fix for Coverity error CID: 789.

svn path=/trunk/; revision=36411

13 years agofix heap corruption when lpStringToFind is NULL
Christoph von Wittich [Tue, 23 Sep 2008 06:55:05 +0000 (06:55 +0000)]
fix heap corruption when lpStringToFind is NULL
Fix for Coverity error CID: 775.

svn path=/trunk/; revision=36410

13 years agosome detritus exposed by coverity.
Art Yerkes [Tue, 23 Sep 2008 05:58:51 +0000 (05:58 +0000)]
some detritus exposed by coverity.

svn path=/trunk/; revision=36409

13 years agoAdd UpdateLayeredWindowIndirect to def and cleanup and add a new type in dce.h.
James Tabor [Mon, 22 Sep 2008 15:49:38 +0000 (15:49 +0000)]
Add UpdateLayeredWindowIndirect to def and cleanup and add a new type in dce.h.

svn path=/trunk/; revision=36405

13 years agosync riched20 with wine 1.1.5
Christoph von Wittich [Mon, 22 Sep 2008 14:29:28 +0000 (14:29 +0000)]
sync riched20 with wine 1.1.5

svn path=/trunk/; revision=36404