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

cyradm listmailbox use of an uninitialized value in 3.4.5 #4440

Closed
yaonos opened this issue Mar 17, 2023 · 2 comments · Fixed by #4447
Closed

cyradm listmailbox use of an uninitialized value in 3.4.5 #4440

yaonos opened this issue Mar 17, 2023 · 2 comments · Fixed by #4447
Assignees
Labels
3.2 affects 3.2 3.4 affects 3.4 3.6 affects 3.6 3.8 affects 3.8 3.9 affects 3.9 dev releases

Comments

@yaonos
Copy link

yaonos commented Mar 17, 2023

Description

Cyrus IMAP 3.4.5's cyradm issues a uninitialized value warning with the listmailbox command.

Here is an illustration of this issue :

localhost> lm user.tst
Use of uninitialized value $w in numeric gt (>) at /usr/lib64/perl5/vendor_perl/Cyrus/IMAP/Shell.pm line 676.
user.tst (\HasChildren)  

This issue has been observed on an RHEL 8.7 system.

Resolution

A patch that resolves this issue is attached to this report.

cyrus-imapd_listmailbox_uninitialized.patch

@elliefm elliefm self-assigned this Mar 17, 2023
@elliefm elliefm added 3.2 affects 3.2 3.4 affects 3.4 3.6 affects 3.6 3.8 affects 3.8 3.9 affects 3.9 dev releases labels Mar 17, 2023
@elliefm
Copy link
Contributor

elliefm commented Mar 17, 2023

Thanks! The patch looks good, do you want to submit it as a pull request? I'm happy to just apply the patch myself, but if you submit it as a PR then the commit will have your name on it. Whichever you prefer, let me know.

If you do submit it as a PR, please submit it against the master branch. I'll take care of backporting it to the earlier releases. :)

@yaonos
Copy link
Author

yaonos commented Mar 17, 2023

Thanks for the PR proposition. I don't mind having my name on a commit. It would be a good exercise for me as I am not so fluent with git, but I'll leave it to you, if you don't mind. Maybe next time !

elliefm added a commit to elliefm/cyrus-imapd that referenced this issue Mar 20, 2023
elliefm added a commit to elliefm/cyrus-imapd that referenced this issue Mar 24, 2023
elliefm added a commit that referenced this issue Mar 24, 2023
elliefm added a commit that referenced this issue May 24, 2023
elliefm added a commit that referenced this issue Sep 18, 2023
elliefm added a commit that referenced this issue Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.2 affects 3.2 3.4 affects 3.4 3.6 affects 3.6 3.8 affects 3.8 3.9 affects 3.9 dev releases
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants