Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SIGSEGV if job cannot be printed #535

Closed
michaelrsweet opened this issue Jan 21, 2004 · 2 comments
Closed

SIGSEGV if job cannot be printed #535

michaelrsweet opened this issue Jan 21, 2004 · 2 comments

Comments

@michaelrsweet
Copy link
Collaborator

Version: 1.1.19
CUPS.org User: wolfram.joost.dak

In file scheduler/ipp.c, function print_job CheckJobs is called. This function can call StartJob and StartJob calls CancelJob if the job cannot be printed. CancelJob frees the memory for the job depending on the preserve-jobs-setting. But print_job uses its old pointer to the job to access information about the job causing a SIGSEGV or strange things to happen.

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

Thanks, looking into this...

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

Fixed in CVS - the anonymous CVS repository will be updated at midnight EST.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant