diff options
author | Gerald Carter <jerry@samba.org> | 2004-03-01 17:03:05 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2004-03-01 17:03:05 +0000 |
commit | 1fe6e296374619b3e0e398f6eff3f704ac9cd021 (patch) | |
tree | 6b9e9e4c6ca3147d9a2c10cfc6096ac6b1fff489 | |
parent | c4877403a04b60619523dfe3fc892564ff41a079 (diff) | |
download | samba-1fe6e296374619b3e0e398f6eff3f704ac9cd021.tar.gz samba-1fe6e296374619b3e0e398f6eff3f704ac9cd021.tar.bz2 samba-1fe6e296374619b3e0e398f6eff3f704ac9cd021.zip |
BUG 1147; bad pointer case in get_stored_queue_info() causing seg fault
(This used to be commit 91af1fb73a2e86a343c085128aaed2ef0c26de57)
-rw-r--r-- | source3/printing/printing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c index 1f0bb1e074..c453eb796c 100644 --- a/source3/printing/printing.c +++ b/source3/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) { |