]> git.ipfire.org Git - thirdparty/cups.git/commit
Scheduler crash due to unknown circumstances leading to NULL policy pointer (STR...
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Wed, 5 Mar 2014 19:07:24 +0000 (19:07 +0000)
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Wed, 5 Mar 2014 19:07:24 +0000 (19:07 +0000)
commitf627443d1bb7b5c290518692c7a3f12c07ff0745
treeea10bc467cd59bf538b522387f8b4b82586ac75c
parentfa17c11e8a101fd0e2806c3e01b0f3e1c884b271
Scheduler crash due to unknown circumstances leading to NULL policy pointer (STR #4378)

This should never happen, but could be due to a patch applied for Debian/Ubuntu.

This change logs the occurrence and uses the default policy if the policy is
NULL.  If DefaultPolicyPtr is NULL (something that definitely should never
happen when cupsd is accepting client connections) then we will still crash.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11681 a1ca3aef-8c08-0410-bb20-df032aa958be
scheduler/policy.c