-
Notifications
You must be signed in to change notification settings - Fork 457
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
Return value not checked for rename() #4589
Comments
CUPS.org User: mike Fixed in Subversion repository. |
"0001-Check-return-value-when-calling-rename.patch": From 47a8d10f130312ef3e3dc4af2870f42ef53ca5e7 Mon Sep 17 00:00:00 2001 scheduler/ipp.c | 23 +++++++++++++++++++++-- diff --git a/scheduler/ipp.c b/scheduler/ipp.c snprintf(filename, sizeof(filename), "%s/d%05d-%03d", RequestRoot, job->id,
cupsdClearString(&con->filename); /* snprintf(filename, sizeof(filename), "%s/d%05d-%03d", RequestRoot, job->id,
cupsdClearString(&con->filename); 2.1.0 |
Version: 2.1-current
CUPS.org User: twaugh.redhat
In some instances, rename() is called without checking its return value. Here are the fixes for some of those.
The text was updated successfully, but these errors were encountered: