Skip to content
Snippets Groups Projects
  • Jaco Kroon's avatar
    40e93b02
    dundi: fix NULL dereference. · 40e93b02
    Jaco Kroon authored
    If a negative (error) return is received from dundi_lookup_internal,
    this is not handled correctly when assigning the result to the buffer.
    As such, use a signed integer in the assignment and do a proper
    comparison.
    
    ASTERISK-21205
    
    Change-Id: I5214ebb6491e2bd14f90c7d3ce229da86888f739
    40e93b02
    History
    dundi: fix NULL dereference.
    Jaco Kroon authored
    If a negative (error) return is received from dundi_lookup_internal,
    this is not handled correctly when assigning the result to the buffer.
    As such, use a signed integer in the assignment and do a proper
    comparison.
    
    ASTERISK-21205
    
    Change-Id: I5214ebb6491e2bd14f90c7d3ce229da86888f739