KJK::Hyperion
445a482d8d
Only apply C++ compiler flags to the C++ compiler. Fixes useless build warnings.
...
svn path=/trunk/; revision=36520
2008-09-25 19:44:38 +00:00
Timo Kreuzer
01dd1a7431
Allocate size of structure, not size of pointer to the structure. Fixes Coverity errors 767, 768, 769, 770
...
svn path=/trunk/; revision=36519
2008-09-25 19:26:09 +00:00
Stefan Ginsberg
b1a8e2b3fd
- CmpOpenHiveFiles: If "Extension" is false then we won't have allocated any buffer, so there will never be a buffer to free
...
- Fix for Coverity Error CID: 29
svn path=/trunk/; revision=36518
2008-09-25 18:49:27 +00:00
Christoph von Wittich
ac376c0adb
formatting fix
...
svn path=/trunk/; revision=36514
2008-09-25 18:10:23 +00:00
Christoph von Wittich
7d57e70f0d
set eol-style:native
...
svn path=/trunk/; revision=36513
2008-09-25 17:53:05 +00:00
James Tabor
44b6f107bd
- Add Defer Window Position Handle type for multiple-window ? position structure.
...
svn path=/trunk/; revision=36510
2008-09-25 15:39:33 +00:00
Stefan Ginsberg
ccd25605a6
- Implement and export PsIsSystemProcess and add it to the NDK
...
svn path=/trunk/; revision=36509
2008-09-25 14:39:38 +00:00
Stefan Ginsberg
d2abe18c98
- Implement IoGetPagingIoPriority and fix its export
...
svn path=/trunk/; revision=36508
2008-09-25 14:29:11 +00:00
Stefan Ginsberg
cb267e1fdf
- Add WmiQueryTraceInformation, WmiTraceMessage and WmiTraceMessageVa stubs and exports
...
svn path=/trunk/; revision=36507
2008-09-25 14:25:22 +00:00
Aleksey Bragin
94b893abac
- Fix one more totally "out of ideas how to create sections" MmCreateSection usage. Not only the MaximumSize is mandatory for file-backed sections, but an allocation type must be specified (SEC_COMMIT, and it's not the same as some humble "0" passed there as a value).
...
- Fix ReactOS's MmCreateDataFileSection to ignore 0 value in the MaximumSize (it has an additional check for MaximumSize being non-NULL, but this should be removed in future).
svn path=/trunk/; revision=36506
2008-09-25 11:24:51 +00:00
Cameron Gutman
975e8109a2
- Don't call NdisMSendComplete in MiniportSend
...
svn path=/branches/aicom-network-fixes/; revision=36501
2008-09-25 03:23:15 +00:00
Cameron Gutman
2f05ba10c9
- Created a dummy nic driver for testing purposes
...
- Still a work in progress
svn path=/branches/aicom-network-fixes/; revision=36500
2008-09-25 01:02:08 +00:00
Cameron Gutman
99d8e4f1b4
- Try again to fix build
...
svn path=/trunk/; revision=36499
2008-09-25 00:01:39 +00:00
Cameron Gutman
8ffee924f5
- Fix build
...
svn path=/trunk/; revision=36498
2008-09-24 23:48:28 +00:00
Cameron Gutman
564e5b5a2c
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
2008-09-24 23:39:17 +00:00
Cameron Gutman
df2275e5e3
- Add a debug print
...
svn path=/branches/aicom-network-fixes/; revision=36496
2008-09-24 22:00:02 +00:00
Cameron Gutman
b4f76ec0bb
- MiniportAdapterHandle is PLOGICAL_ADAPTER not PNDIS_MINIPORT_BLOCK
...
svn path=/branches/aicom-network-fixes/; revision=36495
2008-09-24 21:56:07 +00:00
Stefan Ginsberg
ef2bb65235
- 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
2008-09-24 19:13:08 +00:00
Stefan Ginsberg
a9d6e4341e
- Remove deprecated macro
...
svn path=/trunk/; revision=36493
2008-09-24 18:47:24 +00:00
Stefan Ginsberg
c1a36080a7
- Add ObpValidateAccessMask stub (only returns success for now) and call it from ObInsertObject
...
- Fix for Coverity Error CID: 9
svn path=/trunk/; revision=36491
2008-09-24 17:32:14 +00:00
Stefan Ginsberg
c2ca8fb596
- HalpXboxReadSector: Fail if we are out of memory instead of dereferencing null
...
- Fix for Coverity error CID: 464
svn path=/trunk/; revision=36490
2008-09-24 17:16:25 +00:00
Stefan Ginsberg
ba22ca771d
- 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
2008-09-24 17:11:35 +00:00
Christoph von Wittich
e724baacde
more correct fix
...
svn path=/trunk/; revision=36488
2008-09-24 16:57:29 +00:00
Stefan Ginsberg
d91564734d
- 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
2008-09-24 16:37:35 +00:00
Stefan Ginsberg
e57cfa2826
- Only dereference the KCB if we know it exists
...
- Fix for Coverity error CID: 279
svn path=/trunk/; revision=36486
2008-09-24 16:19:52 +00:00
Christoph von Wittich
d82ca9895d
check for value > 0 before using it as array index
...
Fix for Coverity error CID: 438
svn path=/trunk/; revision=36485
2008-09-24 15:42:33 +00:00
Stefan Ginsberg
649b40cd13
- 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
2008-09-24 15:27:54 +00:00
Stefan Ginsberg
9bbb8ab1a3
- FsRtlBalanceReads: Fail if we are out of memory instead of dereferencing null
...
- Fix for Coverity error CID: 465
svn path=/trunk/; revision=36483
2008-09-24 15:04:59 +00:00
Stefan Ginsberg
85033039ab
- RawQueryFsSizeInfo: Fail if we are out of memory instead of dereferencing null
...
svn path=/trunk/; revision=36482
2008-09-24 14:53:28 +00:00
Stefan Ginsberg
74897bfee4
- Fix some non-x86 FLOATOBJ_*
...
svn path=/trunk/; revision=36481
2008-09-24 14:01:43 +00:00
Art Yerkes
c261b9dbe8
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
2008-09-24 13:35:37 +00:00
Art Yerkes
4046f15afe
Fix my copypasta spotted by (coverity 1294)
...
svn path=/trunk/; revision=36479
2008-09-24 12:56:30 +00:00
Daniel Reimer
c96b189f38
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
2008-09-24 11:22:08 +00:00
Timo Kreuzer
c00f4a266c
- remove old test code
...
svn path=/trunk/; revision=36471
2008-09-24 11:17:33 +00:00
Aleksey Bragin
f05e50b409
- 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
2008-09-24 10:06:08 +00:00
Aleksey Bragin
200665fb89
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
2008-09-24 08:17:15 +00:00
Aleksey Bragin
b20633a1f0
- 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
2008-09-24 08:12:41 +00:00
Andrew Munger
68b1f10bef
Remove a overzealous check. MSDN says to avoid calling with NumberOfBytes == 0, but it is valid.
...
Addresses bug 3715.
svn path=/trunk/; revision=36449
2008-09-24 07:52:19 +00:00
Cameron Gutman
23c2ae170f
- Use timers so the code is much more simple and works better
...
svn path=/branches/aicom-network-fixes/; revision=36442
2008-09-23 23:59:43 +00:00
Cameron Gutman
0cabe4ffdb
- Check for miniport hangs at the appropriate time
...
- Call MiniReset if required
svn path=/branches/aicom-network-fixes/; revision=36441
2008-09-23 20:54:02 +00:00
Cameron Gutman
be3ff9cec9
- Uncomment the stubbed CheckForHang handler
...
svn path=/branches/aicom-network-fixes/; revision=36440
2008-09-23 20:48:43 +00:00
Aleksey Bragin
9185bead4e
- 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
2008-09-23 20:44:31 +00:00
Cameron Gutman
63c5133b1c
- Set CheckForHangSeconds to a default value of 2 if it wasn't set in MiniportInitialize
...
svn path=/branches/aicom-network-fixes/; revision=36438
2008-09-23 20:17:59 +00:00
Cameron Gutman
2d8a1d38bb
- Set CheckForHangSeconds
...
svn path=/branches/aicom-network-fixes/; revision=36437
2008-09-23 20:10:35 +00:00
Stefan Ginsberg
c3320e0a31
- Attempt satisfy Alex
...
svn path=/trunk/; revision=36436
2008-09-23 19:54:13 +00:00
Ged Murphy
504c3f3278
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
2008-09-23 19:02:32 +00:00
Christoph von Wittich
b13cfee486
return correct value in SETUPAPI_GetCurrentHwProfile
...
Fix for Coverity error CID: 782
svn path=/trunk/; revision=36434
2008-09-23 18:44:58 +00:00
Cameron Gutman
8f1a94b39b
- Call the CheckForHang handler at DISPATCH_LEVEL
...
- Implement MiniReset
svn path=/branches/aicom-network-fixes/; revision=36433
2008-09-23 18:44:17 +00:00
Cameron Gutman
faa10907ca
- Implement MiniCheckForHang
...
svn path=/branches/aicom-network-fixes/; revision=36432
2008-09-23 18:24:19 +00:00
Cameron Gutman
274d2f50e8
- We must check that NdisWrapperHandle is non-NULL to see if NdisMInitializeWrapper succeeded
...
svn path=/branches/aicom-network-fixes/; revision=36430
2008-09-23 18:07:26 +00:00