Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use strcpy rather than strdup #5608

Closed
wants to merge 1 commit into from

Conversation

geographika
Copy link
Member

@geographika geographika commented Jun 14, 2018

I guess I must have missed this in the original pull request. This was a fix supplied by @tbonfort and relates to this - #5277

This pull request includes the code from https://github.com/tbonfort/mapserver/commit/bacf44f24a2dab8eff47d98788a302b7e0b0bb49

If strdup is used on Windows/MSVC then char variables don't get set correctly (at least when using the debugger).

I'm not sure if this should committed to master or the soon to be released 7.2 branch (which would be ideal).

@geographika geographika changed the base branch from master to branch-7-2 June 14, 2018 17:06
@geographika geographika changed the base branch from branch-7-2 to master June 14, 2018 17:06
@geographika
Copy link
Member Author

Looking at the release steps at https://github.com/mapserver/mapserver/wiki/MapServer-7.2-Release-Plan then I guess this should be added to the 7.2 branch if it can be included in the next release.

Replaced with #5610

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant