Bug 243165

Summary: Incorrect use of libhal API
Product: [Fedora] Fedora Reporter: Tim Waugh <twaugh>
Component: hal-cups-utilsAssignee: Tim Waugh <twaugh>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 7   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.6.9.2-1.fc7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-06-13 21:05:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 236808    

Description Tim Waugh 2007-06-07 16:53:26 UTC
-- Additional comment from davidz on 2007-06-07 12:32 EST --
Reassigning to cups; basically it's wrong use of the libhal API; one need to
test the return value of hal_find_device_by_capability(); if NULL is returned
then the value of num_printers is undefined (yes, this is not nice API but
that's how it works for better or worse).

Comment 2 Tim Waugh 2007-06-11 13:19:17 UTC
Fixed in CVS.

Comment 3 Fedora Update System 2007-06-11 22:04:10 UTC
hal-cups-utils-0.6.9.2-1.fc7 has been pushed to the Fedora 7 testing repository.  If problems still persist, please make note of it in this bug report.

Comment 4 Fedora Update System 2007-06-13 21:05:42 UTC
hal-cups-utils-0.6.9.2-1.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.