diff options
author | Egbert Eich <eich@suse.de> | 2004-03-17 09:02:58 +0000 |
---|---|---|
committer | Egbert Eich <eich@suse.de> | 2004-03-17 09:02:58 +0000 |
commit | 4252055ed233b7ff9ad3c3e5d0bd988646915fbb (patch) | |
tree | 662822f3b39f458de1cb2e80d2ecebfd9f430d73 /src | |
parent | 54889b17766a4515c920f0d76790e0280442301d (diff) |
41. Fix for insufficient allocation of a list inxo-6_7_0XPRINT_BEGINXPRINT_BASEXORG-RELEASE-1-TM-MERGEXORG-RELEASE-1-STSF-FORKXORG-RELEASE-1-MERGEXORG-CYGWIN-MERGEXORG-CYGWIN-LAST-MERGEXORG-6_7_0XPRINTXORG-RELEASE-1-STSFXORG-RELEASE-1
GetDeviceDontPropagateList() on 64bit machines (Andreas Luik).
Diffstat (limited to 'src')
-rw-r--r-- | src/XGetProp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XGetProp.c b/src/XGetProp.c index 8560108..ed5a2d1 100644 --- a/src/XGetProp.c +++ b/src/XGetProp.c @@ -93,7 +93,7 @@ XEventClass if (*count) { rlen = rep.length << 2; - list = (XEventClass *) Xmalloc (rlen); + list = (XEventClass *) Xmalloc (rep.length * sizeof(XEventClass)); if (list) { int i; |