mirror of
https://github.com/reactos/reactos.git
synced 2025-07-15 19:54:03 +00:00
Fix dillo/vncviewer regressions (semaphore bug). thanks to art and waxdragon for notifying me of the regressions.
svn path=/trunk/; revision=14117
This commit is contained in:
parent
fbfe053b9b
commit
4bf67aaf0f
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ NtCreateSemaphore(OUT PHANDLE SemaphoreHandle,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Make sure the counts make sense */
|
/* Make sure the counts make sense */
|
||||||
if (!MaximumCount || !InitialCount || InitialCount > MaximumCount) {
|
if (!MaximumCount || InitialCount < 0 || InitialCount > MaximumCount) {
|
||||||
|
|
||||||
DPRINT("Invalid Count Data!\n");
|
DPRINT("Invalid Count Data!\n");
|
||||||
return STATUS_INVALID_PARAMETER;
|
return STATUS_INVALID_PARAMETER;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue