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

Handle nil function input / output #131

Merged
merged 3 commits into from
Mar 30, 2020

Conversation

denysvitali
Copy link
Contributor

@denysvitali denysvitali commented Mar 29, 2020

Without this commit, the attached WSDL causes a fatal crash due to a nil value in ge.funcs[name].Input that is dereferenced inside of genGoOpStruct.

This PR fixes #96,

wsd.zip

@denysvitali denysvitali changed the title Handle nil function input Handle nil function input / output Mar 29, 2020
@fiorix fiorix merged commit 5100b2d into fiorix:master Mar 30, 2020
@fiorix
Copy link
Owner

fiorix commented Mar 30, 2020

Squashed during commit. Thanks!

YumeMichi added a commit to YumeMichi/wsdl2go that referenced this pull request Jun 23, 2020
GhostSt pushed a commit to GhostSt/wsdl2go that referenced this pull request Mar 17, 2021
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.

generate panic error nil pointer
2 participants