File tree Expand file tree Collapse file tree 3 files changed +21
-25
lines changed
Filter options
Expand file tree Collapse file tree 3 files changed +21
-25
lines changed
Original file line number Diff line number Diff line change 63
63
version_info = release .version_info
64
64
# list of CVEs that should have been patched in this release.
65
65
# this is informational and should not be relied upon.
66
- __patched_cves__ = {"CVE-2022-21699" }
66
+ __patched_cves__ = {"CVE-2022-21699" , "CVE-2023-24816" }
67
67
68
68
69
69
def embed_kernel (module = None , local_ns = None , ** kwargs ):
Original file line number Diff line number Diff line change @@ -91,30 +91,14 @@ def _restore_term_title_xterm():
91
91
_set_term_title = _set_term_title_xterm
92
92
_restore_term_title = _restore_term_title_xterm
93
93
elif sys .platform == 'win32' :
94
- try :
95
- import ctypes
96
-
97
- SetConsoleTitleW = ctypes .windll .kernel32 .SetConsoleTitleW
98
- SetConsoleTitleW .argtypes = [ctypes .c_wchar_p ]
99
-
100
- def _set_term_title (title ):
101
- """Set terminal title using ctypes to access the Win32 APIs."""
102
- SetConsoleTitleW (title )
103
- except ImportError :
104
- def _set_term_title (title ):
105
- """Set terminal title using the 'title' command."""
106
- global ignore_termtitle
107
-
108
- try :
109
- # Cannot be on network share when issuing system commands
110
- curr = os .getcwd ()
111
- os .chdir ("C:" )
112
- ret = os .system ("title " + title )
113
- finally :
114
- os .chdir (curr )
115
- if ret :
116
- # non-zero return code signals error, don't try again
117
- ignore_termtitle = True
94
+ import ctypes
95
+
96
+ SetConsoleTitleW = ctypes .windll .kernel32 .SetConsoleTitleW
97
+ SetConsoleTitleW .argtypes = [ctypes .c_wchar_p ]
98
+
99
+ def _set_term_title (title ):
100
+ """Set terminal title using ctypes to access the Win32 APIs."""
101
+ SetConsoleTitleW (title )
118
102
119
103
120
104
def set_term_title (title ):
Original file line number Diff line number Diff line change 2
2
8.x Series
3
3
============
4
4
5
+
6
+ IPython 8.9.1
7
+ -------------
8
+
9
+ Out of schedule release of IPython with minor fixes to patch a potential CVE-2023-24816.
10
+ This is a really low severity CVE that you most likely are not affected by unless:
11
+
12
+ - You are on windows.
13
+ - You have a custom build of Python without ``_ctypes ``
14
+ - You cd or start IPython or Jupyter in untrusted directory which names may be valid shell commands.
15
+
16
+
5
17
.. _version 8.9.0 :
6
18
7
19
IPython 8.9.0
You can’t perform that action at this time.
0 commit comments