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

Fixed crash due to missing error check in parsing find_item_response #202

Merged
merged 1 commit into from
Oct 13, 2022

Conversation

idolum
Copy link
Member

@idolum idolum commented Oct 13, 2022

Resulted in a crash, if the response contained an error, for instance, accessing a other user's inbox without the right permission. Results in an error

[...]
                                <m:FindItemResponseMessage ResponseClass="Error">
                                        <m:MessageText>The specified object was not found in the store., Default folder Inbox not found.</m:MessageText>
                                        <m:ResponseCode>ErrorItemNotFound</m:ResponseCode>
                                        <m:DescriptiveLinkKey>0</m:DescriptiveLinkKey>
                                </m:FindItemResponseMessage>
                        </m:ResponseMessages>
                </m:FindItemResponse>
        </s:Body>
</s:Envelope>

This response was not parsed properly leading to a crash.

@idolum idolum added the bug label Oct 13, 2022
@idolum idolum added this to the 0.11 milestone Oct 13, 2022
@idolum idolum self-assigned this Oct 13, 2022
@idolum idolum changed the title Error check was missing in parsing find_item_response Fxied crash due to missing error check in parsing find_item_response Oct 13, 2022
@idolum idolum changed the title Fxied crash due to missing error check in parsing find_item_response Fixed crash due to missing error check in parsing find_item_response Oct 13, 2022
@idolum idolum merged commit 5d4993a into master Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant