summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid O'Neill <dmo@samba.org>2001-01-18 16:13:03 +0000
committerDavid O'Neill <dmo@samba.org>2001-01-18 16:13:03 +0000
commit1a0d64a4254ae769e147699f0dc2b40429e43f23 (patch)
tree74477a619b2614d99f6c960afe7ef92a170aec39
parentebee2c6c6d95de7aa5f17173b846c5ada24b6ccc (diff)
downloadsamba-1a0d64a4254ae769e147699f0dc2b40429e43f23.tar.gz
samba-1a0d64a4254ae769e147699f0dc2b40429e43f23.tar.bz2
samba-1a0d64a4254ae769e147699f0dc2b40429e43f23.zip
Changes from APPLIANCE_HEAD:
source/rpc_server/srv_spoolss_nt.c - Fixed dereference of NULL pointer in security descriptor notification used by Win2K printers. (This used to be commit 1b6efd18943ef3ed0e2e061495d05cfdecd86c88)
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c
index 24626d1a9a..5b92a51189 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -1463,7 +1463,7 @@ static void spoolss_notify_security_desc(int snum,
TALLOC_CTX *mem_ctx)
{
data->notify_data.data.length=0;
- data->notify_data.data.string[0]=0x00;
+ data->notify_data.data.string = NULL;
}
/*******************************************************************