From eb8a8c290f893b6ffa3d16e282829230be56b212 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Mon, 1 Mar 2004 17:03:23 +0000 Subject: [PATCH] BUG 1147; bad pointer case in get_stored_queue_info() causing seg fault --- source/printing/printing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/printing/printing.c b/source/printing/printing.c index 1f0bb1e0742..c453eb796c6 100644 --- a/source/printing/printing.c +++ b/source/printing/printing.c @@ -2183,7 +2183,7 @@ static BOOL get_stored_queue_info(struct tdb_print_db *pdb, int snum, int *pcoun uint32 jobid; struct printjob *pjob; - jobid = IVAL(&cgdata.dptr, i*4); + jobid = IVAL(cgdata.dptr, i*4); DEBUG(5,("get_stored_queue_info: changed job = %u\n", (unsigned int)jobid)); pjob = print_job_find(snum, jobid); if (!pjob) { -- 2.11.4.GIT