Skip to content

fix: delete_user is now using unsigned short instead of signed short - #261

Open
kevinchristianto wants to merge 2 commits into
fananimi:masterfrom
kevinchristianto:master
Open

fix: delete_user is now using unsigned short instead of signed short#261
kevinchristianto wants to merge 2 commits into
fananimi:masterfrom
kevinchristianto:master

Conversation

@kevinchristianto

Copy link
Copy Markdown

In the existing version, struct.pack() in delete_user is using signed short (h), causing error when deleting a user with uid more than 32767. Fixing it by replacing pack('h') with pack('H').

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.

1 participant