BNetworkAddress::SetTo() doesn't store some error cases.
|Reported by:||anevilyak||Owned by:||pulkomandy|
|Has a Patch:||no||Platform:||All|
Description (last modified by )
In several of BNetworkAddress's SetTo variants, there are error conditions that are returned, but not stored on fStatus. Consequently, if the address was set via the constructor, these errors may go undetected by subsequent calls to InitCheck().
If either Resolver.Get() or Resolver->InitCheck() fail, the result is not stored on fStatus.
Since the above example is consistent across every SetTo() that requires the use of the resolver, I was uncertain if the behavior was deliberate for that case, and thought it best to report it.