mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Python: Add new test
This commit is contained in:
@@ -49,11 +49,11 @@ async def bomb(file_path):
|
||||
gzip.open(file_path) # $ result=BAD
|
||||
gzip.GzipFile(file_path) # $ result=BAD
|
||||
|
||||
# from compression import zstd
|
||||
#
|
||||
# zstd.open(file_path) # $ result=BAD
|
||||
# zstd.ZstdFile(file_path).read() # $ result=BAD
|
||||
#
|
||||
from compression import zstd
|
||||
|
||||
zstd.open(file_path) # $ result=BAD
|
||||
zstd.ZstdFile(file_path).read() # $ result=BAD
|
||||
|
||||
import pandas
|
||||
|
||||
pandas.read_csv(filepath_or_buffer=file_path) # $ result=BAD
|
||||
|
||||
Reference in New Issue
Block a user