#13522: BNetworkAddress::SetTo() doesn't store some error cases.
--------------------------------+----------------------------
Reporter: anevilyak | Owner: pulkomandy
Type: bug | Status: assigned
Priority: normal | Milestone: Unscheduled
Component: Kits/Network Kit | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
--------------------------------+----------------------------
Changes (by anevilyak):
* owner: nobody => pulkomandy
* status: new => assigned
Old description:
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().
For instance, at http://cgit.haiku-
os.org/haiku/tree/src/kits/network/libnetapi/NetworkAddress.cpp#n165
If either Resolver.Get() or Resolver->InitCheck() fail, the result is not
stored on fStatus. Similar issues are present in other SetTo variants.