git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12921
a1ca3aef-8c08-0410-bb20-
df032aa958be
- Security hardening fixes (<rdar://problem/23131948>,
<rdar://problem/23132108>, <rdar://problem/23132353>,
- <rdar://problem/23132803>)
+ <rdar://problem/23132803>, <rdar://problem/23133230>)
- The cupsGetPPD* functions did not work with IPP printers (STR #4725)
- Some older HP LaserJet printers need a delayed close when printing
using the libusb-based USB backend (STR #4549)
{
ret = CFStringCreateWithBytes(NULL, (const UInt8 *) &request.pData[2], actualLength - 2, kCFStringEncodingUTF8, false);
}
- else {
+ else if (actualLength > 2) {
err = sendRequest(actualLength);
if (err == kIOReturnSuccess && request.wLenDone > 0)
{