search for: error_insufficient_buffer

Displaying 13 results from an estimated 13 matches for "error_insufficient_buffer".

2008 May 17
2
Problem reading log with win32-eventlog - buffer too small
Hi all, A user recently ran into an issue with win32-eventlog and the EventLog#read method when reading a saved log file. It seems that there''s an issue. After some experimentation I found that the problem seems to be that the initial buffer to ReadEventLog() in line 558 is too small, so it tries a second call to ReadEventLog() with a larger buffer. The problem is that, after I
2006 Mar 20
5
Need some ACL help for win32-file
...;) sec_buf = '''' loop do bool = @@GetFileSecurity.call( file, DACL_SECURITY_INFORMATION, sec_buf, sec_buf.length, length_needed ) if bool == 0 && @@GetLastError.call != ERROR_INSUFFICIENT_BUFFER raise ArgumentError, get_last_error end break if sec_buf.length >= length_needed.unpack(''L'').first sec_buf += '' '' * length_needed.unpack("L").first end control = [0].pack(''L'&...
2007 Oct 27
0
Who wants to take a stab at IO.foreach?
...end buffer = 0.chr * MAX_READ nbytes = [0].pack(''L'') offset = 0 olap = 0.chr * 20 # sizeof(OVERLAPPED) while bool = ReadFile(handle, buffer, buffer.size, nbytes, olap) error = GetLastError() if !bool && error == ERROR_INSUFFICIENT_BUFFER buffer = 0.chr * (buffer.size + buf_max) next end # TODO: Fix offset += MAX_READ yield buffer olap[8,4] = [offset].pack(''L'') # Bump the file pointer break if error == ERROR_HANDLE_EOF e...
2011 Jun 10
0
Wine release 1.3.22
...winhttp: Don't change the verb if the server response is HTTP_STATUS_REDIRECT_KEEP_VERB. wininet: Don't change the verb if the server response is HTTP_STATUS_REDIRECT_KEEP_VERB. wininet: Consistently use the allocation macros. crypt32: GetUserName sets last error to ERROR_INSUFFICIENT_BUFFER if the buffer is too small. msi: GetUserName sets last error to ERROR_INSUFFICIENT_BUFFER if the buffer is too small. msi: Factor out common code to execute custom action commands. msi: Reorder dialog functions to avoid forward declarations. msi: Revert 8321276cd34486bc6bf1e...
2020 Aug 07
0
Wine release 5.0.2
...-stub implementation for WMIsContentProtected. include: Add missing GUIDs in dsound.h. Vladimir Panteleev (4): kernel32/tests: Fix GetLastError() checks in environment tests. kernelbase: Preserve last error when GetEnvironmentVariableA succeeds. kernelbase: Don't return ERROR_INSUFFICIENT_BUFFER from GetEnvironmentVariableW. kernelbase: Fix GetEnvironmentVariableW return for empty variables. Zebediah Figura (5): winegstreamer: Also use GST_QOS_TYPE_OVERFLOW for samples that arrive on time. winegstreamer: Clamp both timestamp and timestamp + diff to 0. ntoskrnl.exe:...
2008 May 30
0
Wine release 1.0-rc3
...ing test in win2k3. kernel32: Remove two tests that produce different results for win9x and NT platforms. user32: Fix two tests that fail in win2k3 and above. oleaut32: Disable olefont tests that fail on all platforms. user32: win2k3's GetWindowModuleFileName does return ERROR_INSUFFICIENT_BUFFER. Jens Albretsen (2): ddraw: IDirect3DTextureImpl_Load failed when texture was loading onto itself. ddraw: Test for IDirect3DTexture_Load of Texture into itself. John Klehm (2): winex11: Detect acecad tablet as stylus device. winex11: Support detection of tablet devices fro...
2014 Jun 27
0
Wine release 1.7.21
...ces. msvcr110: Fix typo in exported symbol _set_SSE2_enable. user32: Avoid race-condition when unloading module while hook is still active. kernel32: Raise DBG_PRINTEXCEPTION_C exception in OutputDebugStringA. wininet: Don't update *lpdwIndex if HttpQueryInfoW fails with ERROR_INSUFFICIENT_BUFFER. ntdll/tests: Add exception tests for RtlUnwind on i386. ntdll/tests: Use an EXCEPTION_REGISTRATION_RECORD array to prevent compiler from reordering variables. ntdll/tests: Run crashing i386 exception tests as the last step. kernel32: Process OutputDebugString events like re...
2015 May 29
0
Wine release 1.7.44
...sTest() 36669 ddraw/tests/visual.c crash under valgrind/i965 37220 valgrind shows an invalid write in d3dx9_36/tests/core.c 37575 regedit: duplicated null characters 37604 Adobe Reader 6 crashes at splash screen 37667 Custom game development library needs GetRawInputDeviceList to set ERROR_INSUFFICIENT_BUFFER on too small buffer 37759 CLARION 8 crashes on null pointer in GetStringTypeW 37761 Tree list items do not automatically collapse in Starcraft Campaign Editor 38090 Managed (.NET) debugger fails to load symbol files ('GetFileVersionInfoSizeExW' is a stub) 38098 Managed (.NET) de...
2020 May 22
0
Wine release 5.9
...wined3d: Implement Vulkan NULL cube image shader resource view descriptors. Vijay Kiran Kamuju (1): include: Add new defines and fix struct WNODE_HEADER. Vladimir Panteleev (3): kernelbase: Preserve last error when GetEnvironmentVariableA succeeds. kernelbase: Don't return ERROR_INSUFFICIENT_BUFFER from GetEnvironmentVariableW. kernelbase: Fix GetEnvironmentVariableW return for empty variables. Zebediah Figura (49): include: Add dpfilter.h. quartz/tests: Fix a test failure on 32-bit Windows. quartz/tests: Add some tests for windowless video size. quartz: Set VMR...
2020 Mar 13
0
Wine release 5.4
...: Fix locale.c compilation with Visual Studio 14.0. kernel32/tests: Fix initialization of parameters in Get[*]PreferredUILanguages tests. kernel32/tests: Add more tests for Get[*]PreferredUILanguages APIs. kernel32: Get[*]PreferredUILanguages should return buffer size when setting ERROR_INSUFFICIENT_BUFFER. msi: Add support for ListView dialog control. dnsapi/tests: Add some DnsQuery tests. dnsapi/tests: Also test the "_ldap._tcp.deadbeef" query. wbemdisp: Use pointer moniker instead of custom moniker implementation. adsldp: Add IParseDisplayName stub interface...
2007 Oct 26
0
Wine release 0.9.48
...ewart (4): ws2_32: Return proper WSAENOBUFS error when enuming protocols. iphlpapi: For platforms that do not implement /proc, return Unimplemented for the functions trying to read from there. iphlpapi: Correct GetBestRoute when there is no route. kernel32: Set last error to ERROR_INSUFFICIENT_BUFFER in LCMapString when the sort key buffer is too small. Bang Jun-young (7): configure: Add check for presence of _strdup() and strdup(). crypt32: Fix typo in CryptGetDefaultOIDFunctionAddress(). avifil32: Fix prototype for AVIStreamFindSample() to match the PSDK. version: Use...
2008 Apr 18
1
Wine release 0.9.60
...ng. ddraw/tests: Add viewport clearing tests. ddraw/tests: Add colorkeyed blit to p8_primary_test. Alexander Morozov (3): setupapi: Add a test for SetupDiGetDeviceRegistryProperty and SetupDiSetDeviceRegistryProperty. setupapi: SetupDiGetDeviceRegistryProperty should return ERROR_INSUFFICIENT_BUFFER when buffer size is insufficient. setupapi: SetupDiGetDeviceRegistryProperty should return ERROR_INVALID_DATA when buffer size is not 0 but buffer is NULL. Alexander Nicolaysen S?rnes (6): comdlg32: Update Norwegian Bokm?l resource. oledlg: Fix control class in Norwegian Bokm?l r...
2008 Jun 27
0
Wine release 1.1.0
...crt4: Add a stub for I_RpcBindingInqTransportType. Dmitry Timoshkov (29): gdi32: Print the assigned world transform. gdi32: Use 0xffff as a default character as Vista does. user32: Add a test for MNS_NOTIFYBYPOS, make it pass under Wine. kernel32: Make GetModuleFileName set ERROR_INSUFFICIENT_BUFFER like win2k3 and vista do. winmm: Add the tests for mmioOpen and mmioSetBuffer, make them pass under Wine. winmm: Clear the fccType in mmioDescend for a not RIFF/LIST case. gdi32: Add a test for combined mapping mode/world transform changes. wine.inf: Add Baltic font substitu...