[ros-diffs] [arty] 28737: Set needed sizes for return buffers when we return an insufficient buffer error.
arty at svn.reactos.org
arty at svn.reactos.org
Sat Sep 1 13:14:25 CEST 2007
- Previous message: [ros-diffs] [ekohl] 28736: Make all "OK" buttons default push buttons.
- Next message: [ros-diffs] [greatlrd] 28738: add stub for : IsValidEnhMetaRecord and IsValidEnhMetaRecordOffExt, I have not search after any info about thuse api follow api need have some part done in user mode : OffsetRgn, GetTextCharsetInfo, IntersectClipRect, OffsetClipRgn. Implement partly NamedEscape we need metadc support to finish full implement follow api have been move from redirect to smaller code into hacks.c for they are ros own syscall and does not exists in windows, GetStretchBltMode, GetTextAlign, GetTextColor, MoveToEx, OffsetViewportOrgEx, OffsetWindowOrgEx. redirect HT_Get8BPPMaskPalette, HT_Get8BPPFormatPalette, GetSystemPaletteUse to win32k
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: arty
Date: Sat Sep 1 15:14:25 2007
New Revision: 28737
URL: http://svn.reactos.org/svn/reactos?rev=28737&view=rev
Log:
Set needed sizes for return buffers when we return an insufficient buffer
error.
Modified:
trunk/reactos/lib/rtl/sd.c
Modified: trunk/reactos/lib/rtl/sd.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/sd.c?rev=28737&r1=28736&r2=28737&view=diff
==============================================================================
--- trunk/reactos/lib/rtl/sd.c (original)
+++ trunk/reactos/lib/rtl/sd.c Sat Sep 1 15:14:25 2007
@@ -732,6 +732,10 @@
DaclLength > *DaclSize ||
SaclLength > *SaclSize)
{
+ *OwnerSize = OwnerLength;
+ *PrimaryGroupSize = GroupLength;
+ *DaclSize = DaclLength;
+ *SaclSize = SaclLength;
return STATUS_BUFFER_TOO_SMALL;
}
- Previous message: [ros-diffs] [ekohl] 28736: Make all "OK" buttons default push buttons.
- Next message: [ros-diffs] [greatlrd] 28738: add stub for : IsValidEnhMetaRecord and IsValidEnhMetaRecordOffExt, I have not search after any info about thuse api follow api need have some part done in user mode : OffsetRgn, GetTextCharsetInfo, IntersectClipRect, OffsetClipRgn. Implement partly NamedEscape we need metadc support to finish full implement follow api have been move from redirect to smaller code into hacks.c for they are ros own syscall and does not exists in windows, GetStretchBltMode, GetTextAlign, GetTextColor, MoveToEx, OffsetViewportOrgEx, OffsetWindowOrgEx. redirect HT_Get8BPPMaskPalette, HT_Get8BPPFormatPalette, GetSystemPaletteUse to win32k
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Ros-diffs
mailing list