Fixing bounds issue due to strdup replacement for mingw not handling NULL
Merge pull request #12 from ReDucTor/next

Fixing bounds issue due to strdup replacement for mingw not handling NULL