summaryrefslogtreecommitdiffstats
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
commit1b6efd18943ef3ed0e2e061495d05cfdecd86c88 (patch)
tree393687b95d0fca53ca1c77c51e7986f64ea00b9e
parent83596034cdecc7b03e35c0b4bb149e6bf9cebc70 (diff)
downloadsamba-1b6efd18943ef3ed0e2e061495d05cfdecd86c88.tar.gz
samba-1b6efd18943ef3ed0e2e061495d05cfdecd86c88.tar.xz
samba-1b6efd18943ef3ed0e2e061495d05cfdecd86c88.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.
-rw-r--r--source/rpc_server/srv_spoolss_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rpc_server/srv_spoolss_nt.c b/source/rpc_server/srv_spoolss_nt.c
index 24626d1a9a2..5b92a51189f 100644
--- a/source/rpc_server/srv_spoolss_nt.c
+++ b/source/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;
}
/*******************************************************************