Skip to content
This repository has been archived by the owner on Sep 29, 2024. It is now read-only.

Address concerns from Guido Vranken fuzzers #141

Merged
merged 12 commits into from
May 16, 2020
Merged

Conversation

keeshux
Copy link
Member

@keeshux keeshux commented Dec 9, 2019

No description provided.

@keeshux keeshux added the bug Something isn't working label Dec 9, 2019
@keeshux keeshux added this to the 2.2.0 milestone Dec 9, 2019
@keeshux keeshux self-assigned this Dec 9, 2019
@keeshux keeshux removed this from the 2.2.0 milestone Dec 11, 2019
@keeshux keeshux added this to the 2.2.6 milestone May 14, 2020
@keeshux
Copy link
Member Author

keeshux commented May 15, 2020

@guidovranken good to merge?

NSLog(@"Can't partition single IPv6");
return @[self, self];
}

struct in6_addr saddr1, saddr2;
char addr[INET6_ADDRSTRLEN];
NSData *addressData = RoutingTableEntryAddress6(self.network);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NULL check of addressData?

if ( addressData == NULL ) return NULL;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also NULL checks after calls to RoutingTableEntryAddress6 in matchesDestination. At least in my fuzzers I observe crashes if those checks are not there.

RoutingTableEntryAddress4 calls might need similar checks.

@guidovranken
Copy link

@guidovranken good to merge?

After addressing my remarks about RoutingTableEntry.m, yes.

@keeshux
Copy link
Member Author

keeshux commented May 15, 2020

Those RoutingTable* are a real drag.

@keeshux keeshux merged commit 9095ea2 into master May 16, 2020
@keeshux keeshux deleted the guido-vranken-fuzzers branch May 16, 2020 13:10
@keeshux keeshux modified the milestones: 2.2.7, 2.2.6 May 19, 2020
Copy link

@Jp-watcher Jp-watcher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gg

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants