Opened 7 years ago
Last modified 7 years ago
#13522 closed bug
BNetworkAddress::SetTo() doesn't store some error cases. — at Initial Version
Reported by: | anevilyak | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Kits/Network Kit | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
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.
Note:
See TracTickets
for help on using tickets.