Skip to content

iss: pick the correct inet_pton. #639

Closed
zimmerle opened this Issue Jan 7, 2014 · 2 comments

2 participants

@zimmerle
SpiderLabs member
zimmerle commented Jan 7, 2014

As reported by Steffen from Apache Lounge (http://www.apachelounge.com/), we are making an incorrect decision on which inet_pton to use.

We have our custom version of inet_pton and depending on windows version, we also have it available through windows APIs. If so, we should use the windows version.

A good way to identify the windows versions:
http://msdn.microsoft.com/en-us/library/aa383745.aspx

By applying #if !(NTDDI_VERSION >= NTDDI_VISTA) on the msc_util.c we may good to go.

@zimmerle
SpiderLabs member

Fixed by: 831e598

@zimmerle zimmerle closed this Feb 26, 2014
@zimmerle zimmerle added this to the testing milestones milestone Mar 27, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.