diff options
Diffstat (limited to 'src/xdmcp-server.c')
-rw-r--r-- | src/xdmcp-server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xdmcp-server.c b/src/xdmcp-server.c index 59a38a65..b92df9c9 100644 --- a/src/xdmcp-server.c +++ b/src/xdmcp-server.c @@ -237,7 +237,7 @@ decode_key (const gchar *key, guint8 *data) { gint i; - memset (data, 0, sizeof (data)); + memset (data, 0, 8); if (strncmp (key, "0x", 2) == 0 || strncmp (key, "0X", 2) == 0) { for (i = 0; i < 8; i++) |