commit | 0a89e92a5e03798831de506bc08092f21e84c5bf | [log] [tgz] |
---|---|---|
author | Neels Hofmeyr <neels@hofmeyr.de> | Mon Aug 20 22:39:53 2018 +0200 |
committer | Neels Hofmeyr <neels@hofmeyr.de> | Mon Aug 20 22:39:53 2018 +0200 |
tree | 1cdd1fdbff5fea62cf16e51287cd7f9414680339 | |
parent | dde80f3f615571dcfdf82eb5053579531749a6a1 [diff] |
fix handling of "Wrong domain name" error If no endpoint was found, assert that the cause code indicates error, so that the remaining code path doesn't assume finding an endpoint was successful. Also fix find_endpoint() to return an error cause (not 0) in case it finds the domain name to be wrong. After this, the error described in OS#3488 simply results in a CRCX failure, not in a program crash. Related: OS#3488 Change-Id: I87e2d76c22603d6fef89907c3cf8f7965abf35a0