[Bug 1754516] [NEW] config_list can set invalid values and break lists.

Public bug reported: config_list can set list attributes to invalid values. For example, the list's topics attribute is a list of 4-tuples. it is possible with config_list to set topics to, e.g., a string or a list of strings. Doing this will cause Mailman.MailList.CheckValues() to throw a ValueError. This is a serious issue as it breaks everything that tries to instantiate all lists such as the listinfo overview. I'm not going to attempt to fix this in config_list, but I will fix CheckValues() to not throw the uncaught ValueError() if topics is not a list of 4-tuples. ** Affects: mailman Importance: High Assignee: Mark Sapiro (msapiro) Status: In Progress -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/1754516 Title: config_list can set invalid values and break lists. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/1754516/+subscriptions

** Branch linked: lp:mailman/2.1 -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/1754516 Title: config_list can set invalid values and break lists. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/1754516/+subscriptions

** Changed in: mailman Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/1754516 Title: config_list can set invalid values and break lists. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/1754516/+subscriptions

** Changed in: mailman Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/1754516 Title: config_list can set invalid values and break lists. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/1754516/+subscriptions
participants (2)
-
Launchpad Bug Tracker
-
Mark Sapiro