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

mysql_user: reinitialize the privs list in privileges_unpack() #137

Commits on Apr 4, 2021

  1. mysql_user: reinitialize the privs list in privileges_unpack()

    In some scenarios, `privileges_unpack()` called `privs.append()` inside a loop
    without first emptying or reinitializing the `privs` list from the prior
    iteration. This could result in an invalid `GRANT` statement, which incorrectly
    included privileges from a previously-built `GRANT` statement.
    
    Reinitialize `privs` on each pass of the loop to prevent this from occurring.
    parseword committed Apr 4, 2021
    Configuration menu
    Copy the full SHA
    8ceec70 View commit details
    Browse the repository at this point in the history
  2. Add changelog fragment

    parseword committed Apr 4, 2021
    Configuration menu
    Copy the full SHA
    929240e View commit details
    Browse the repository at this point in the history