diff options
author | Ted Lemon <source@isc.org> | 2001-05-18 01:04:57 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 2001-05-18 01:04:57 +0000 |
commit | d5adfb6e63653679a3628625ef5259f910d710c1 (patch) | |
tree | 2c76ad4c20914b97c020b657741207c0756642b8 /omapip | |
parent | 60b3ba32e8339e257653d60b5060415926840732 (diff) | |
download | isc-dhcp-d5adfb6e63653679a3628625ef5259f910d710c1.tar.gz |
Don't dereference value if none was sent.
Diffstat (limited to 'omapip')
-rw-r--r-- | omapip/protocol.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/omapip/protocol.c b/omapip/protocol.c index ab9d3f28..ca40a1ef 100644 --- a/omapip/protocol.c +++ b/omapip/protocol.c @@ -664,7 +664,8 @@ isc_result_t omapi_protocol_signal_handler (omapi_object_t *h, return status; } omapi_data_string_dereference (&p -> name, MDL); - omapi_typed_data_dereference (&p -> value, MDL); + if (p -> value) + omapi_typed_data_dereference (&p -> value, MDL); goto need_name_length; signature_wait: |