[Opendnssec-develop] [OpenDNSSEC] #193: KsmPolicyPopulateSMFromIds doesn't handle well 'unlimited' capacity

OpenDNSSEC owner-dnssec-trac at kirei.se
Wed Nov 3 02:43:18 UTC 2010


#193: KsmPolicyPopulateSMFromIds doesn't handle well 'unlimited' capacity
-----------------------------------------------------+----------------------
Reporter:  Sebastian Castro <sebastian@…>            |       Owner:  matthijs
    Type:  defect                                    |      Status:  new     
Priority:  minor                                     |   Component:  Signer  
 Version:  trunk                                     |    Keywords:          
-----------------------------------------------------+----------------------
 When you have a repository with unlimited capacity, it's saved in the KASP
 with a '' value in the 'capacity' column. By the time
 KsmPolicyPopulateSMFromIds tries to read that value, gets a random
 integer. If you are unlucky to get a value lower than the current number
 of keys you have, you'll see the 'Repository is full' message.

 I tried setting the capacity directly in the kasp.db to a value big enough
 and the message is gone. For debugging purposes, I added the current count
 and capacity values to the error message.

-- 
Ticket URL: <http://trac.opendnssec.org/ticket/193>
OpenDNSSEC <http://www.opendnssec.org/>
OpenDNSSEC


More information about the Opendnssec-develop mailing list