Need to increase REQUEST_MAX_VAR_SIZE
Uwe Bonnes
bon at elektron.ikp.physik.tu-darmstadt.de
Thu Nov 15 06:54:29 CST 2001
Hallo,
some aplication tries to set a reather longish windows text with over 512
characters
0970c7a0:Call kernel32.lstrlenA(41b6bd8c "License for required features not available\n\n\nSorry, no Synplicity license is av"...) ret=006f06c2
0970c7a0:Ret kernel32.lstrlenA() retval=0000026b
...
0970c7a0:Call user32.SetWindowTextA(0001002e,41b6bb0c "License for required features not available\n\n\nSorry, no Synplicity license is av"...) ret=00
6fce93
...
wine: client.c:136: wine_server_alloc_req: Assertion `size <= 1024' failed.
For the serrver call this is translated into Unicode and so 1024 byte is not
enough for the string.
Changelog
wine/include/wine/server_protocol.h:
Increase REQUEST_MAX_VAR_SIZE from 1024 to 2048
Bye
--
Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
Index: wine/include/wine/server_protocol.h
===================================================================
RCS file: /home/wine/wine/include/wine/server_protocol.h,v
retrieving revision 1.18
diff -u -r1.18 server_protocol.h
--- wine/include/wine/server_protocol.h 13 Nov 2001 22:23:48 -0000 1.18
+++ wine/include/wine/server_protocol.h 15 Nov 2001 12:48:38 -0000
@@ -35,7 +35,7 @@
};
-#define REQUEST_MAX_VAR_SIZE 1024
+#define REQUEST_MAX_VAR_SIZE 2048
typedef int handle_t;
typedef unsigned short atom_t;
More information about the wine-patches
mailing list