omapi segmentation fault in omapi release 4.2.6
Nils.Magnusson at teliasonera.com
Nils.Magnusson at teliasonera.com
Tue Apr 1 09:15:30 UTC 2014
Hi!
We have a program that supervises our IP pools by the use of omapi. If there exists a lease with an empty client host name (client-hostname ""; taken from dhcpd.leases) then omapi will cause a segmentation fault on:
- line 65 in omapi/generic.c, if (!omapi_data_string_cmp (name, g -> values [i] -> name)) {
If I add some code that first checks if g -> values [i] is non null then the code runs fine.
Is this a known problem?
Thanks
Nisse
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20140401/b7bd74fe/attachment.html>
More information about the dhcp-users
mailing list