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

Fix supply stash exploit #14

Merged
merged 2 commits into from
Sep 19, 2021
Merged

Fix supply stash exploit #14

merged 2 commits into from
Sep 19, 2021

Conversation

beats-dh
Copy link
Collaborator

@beats-dh beats-dh commented Aug 25, 2021

Description

Without this check, one could just send packets to stow/withdraw items while hunting and it would work. You wouldn't have to be in depo or anywhere near it to make it work.

Behaviour

Actual:

You can stow/withdraw an item while not standing on depo tile.

Expected:

You should receive error message when trying to stow/withdraw item from stash while not standing on depo tile.

Credits:

@Oen44
https://github.com/opentibiabr/otservbr-global/pull/2662

@sonarcloud
Copy link

sonarcloud bot commented Aug 31, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

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

Successfully merging this pull request may close these issues.

2 participants