Commit Graph

2 Commits

Author SHA1 Message Date
Trevor Gamblin
965b85b678 python3-sqlparse: Fix CVE-2021-32839
Backport a patch from version 0.4.2 upstream since the uprev would add
functionality changes.

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-10-08 12:40:08 -07:00
Leon Anavi
3ae56a340a python3-sqlparse: Upgrade 0.3.1 -> 0.4.1
Upgrade to release 0.4.1:

- Just removed a debug print statement
- Remove support for end-of-life Python 2.7 and 3.4. Python 3.5+
  is now required.
- Remaining strings that only consist of whitespaces are not
  treated as statements anymore. Code that ignored the last
  element from sqlparse.split() should be updated accordingly
  since that function now doesn't return an empty string as the
  last element in some cases.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-16 23:11:58 -07:00