1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

BUG 1147; bad pointer case in get_stored_queue_info() causing seg fault

This commit is contained in:
Gerald Carter -
parent 540f625036
commit 91af1fb73a

View File

@ -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) {