Description of problem: I can't modify class in cups web interface. Whenever I press "Modify Class" button I get "500 Internal Server Error". Version-Release number of selected component (if applicable): cups-1.4-0.rc1.15.fc11.x86_64 How reproducible: Always Steps to Reproduce: 1. http://localhost:631/admin 2. Add Class (no members needed) 3. http://localhost:631/classes 4. Click on class name, Administration -> Modify Class 5. Press "Modify Class" button Actual results: 500 Internal Server Error Expected results: Class has been modified successfully. Additional info: /var/log/cups/error_log contains (/usr/lib/cups/cgi-bin/admin.cgi) crashed on signal 11!
Created attachment 358885 [details] Proposed patch admin.c crashes on line 640 for (ptr = name; *ptr; ptr ++) because name is NULL pointer. The problem is that form variable PRINTER_NAME is not defined because there's missing line <INPUT TYPE="HIDDEN" NAME="PRINTER_NAME" VALUE="{printer_name}"> in templates/modify-class.tmpl
Nice catch! Reported upstream.
This fix is included in cups-1.4.1-2.fc11.
cups-1.4.1-7.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/cups-1.4.1-7.fc11
cups-1.4.1-7.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update cups'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-10891
cups-1.4.1-8.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update cups'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-10891
cups-1.4.2-1.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update cups'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-10891
cups-1.4.2-5.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update cups'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-10891
cups-1.4.2-7.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update cups'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-10891
cups-1.4.2-7.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.