<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div><div><div>Hi all,</div><div><br></div><div>Is this still something we want to implement:</div><div><br></div><div><div>Replying to [ticket:197 Sebastian Castro <sebastian@…>]:</div><div>> 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.</div><div>> </div><div>> 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.</div></div><div><br></div><div><div>/Jerry</div></div></div></div></body></html>