diff options
| author | Pablo Galindo Salgado <Pablogsal@gmail.com> | 2022-09-27 23:23:42 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-27 23:23:42 +0100 |
| commit | aab01e3524d966dca6e72c718a2c71403a14e47c (patch) | |
| tree | 69e30e5354e49bc104177ab61ee8b39ccd24bf22 /Include | |
| parent | dd53b79de0ea98af6a11481217a961daef4e9774 (diff) | |
| download | cpython-git-aab01e3524d966dca6e72c718a2c71403a14e47c.tar.gz | |
gh-96670: Raise SyntaxError when parsing NULL bytes (#97594)
Diffstat (limited to 'Include')
| -rw-r--r-- | Include/cpython/fileobject.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/cpython/fileobject.h b/Include/cpython/fileobject.h index cff2243d62..b70ec31898 100644 --- a/Include/cpython/fileobject.h +++ b/Include/cpython/fileobject.h @@ -3,6 +3,7 @@ #endif PyAPI_FUNC(char *) Py_UniversalNewlineFgets(char *, int, FILE*, PyObject *); +PyAPI_FUNC(char *) _Py_UniversalNewlineFgetsWithSize(char *, int, FILE*, PyObject *, size_t*); /* The std printer acts as a preliminary sys.stderr until the new io infrastructure is in place. */ |
