Commit 48ffe4b8 authored by Thomas Markwalder's avatar Thomas Markwalder
Browse files

[master] Fixed segfault in OMAPI when source object has blank values

    Merged rt29108.
parent ece2d9da
......@@ -147,6 +147,12 @@ by Eric Young (
[ISC-Bugs #43219]
[ISC-Bugs #45051]
- Fixed a bug in OMAPI that causes omshell to crash when a name-value
pair with a zero length value is shipped in an object. Thanks to
Fernando Soto at BlueCat Networks for reporting the issue and
supplying the patch.
[ISC-Bugs #29108]
Changes since 4.3.0 (bug fixes)
- Tidy up several small tickets.
......@@ -62,6 +62,9 @@ isc_result_t omapi_generic_set_value (omapi_object_t *h,
the generic object, and if so, replace the current value
with the new one. */
for (i = 0; i < g -> nvalues; i++) {
if (!g -> values[i])
if (!omapi_data_string_cmp (name, g -> values [i] -> name)) {
/* There's an inconsistency here: the standard
behaviour of a set_values method when
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment