[Opendnssec-develop] Ticket #197: ods-ksmutil key available
jerry at opendnssec.org
Thu Sep 22 09:04:32 UTC 2011
Is this still something we want to implement:
Replying to [ticket:197 Sebastian Castro <sebastian@>]:
> While working on a PoC code to display the list of keys available (in GENERATE
state) for a zone, I found a double-free issue.
> The case was produced when a query to the KASP returned no rows. In the
attached code, within the ListAvailableKeys function, if no rows are returned
there is no call to DbString(row, 0, &key_id), meaning no mem allocation for
key_id. Later on, you try to free that memory using DbStringFree. The glibc on
Debian complains about this. I'm not completely sure about the right approach
for fixing this.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Opendnssec-develop