pg83 commited on
Commit
06483a1
·
verified ·
1 Parent(s): f711ccc

Upload cas/e2/e27364396ba9f6debf7cbaaf1a669e2b2854241ae07f7eca74ca8a8ba0c97472 with huggingface_hub

Browse files
cas/e2/e27364396ba9f6debf7cbaaf1a669e2b2854241ae07f7eca74ca8a8ba0c97472 ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ READLINE PATCH REPORT
2
+ =====================
3
+
4
+ Readline-Release: 8.3
5
+ Patch-ID: readline83-002
6
+
7
+ Bug-Reported-by: Tobias Powalowski <tobias.powalowski@pm.me>
8
+ Bug-Reference-ID: <6465ed69-d2da-4277-92cf-1046bc97ca60@pm.me>
9
+ Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-readline/2025-07/msg00005.html
10
+
11
+ Bug-Description:
12
+
13
+ If an application calls rl_save_prompt, which sets rl_prompt to NULL,
14
+ without calling rl_set_prompt to set it to a new value, readline redisplay
15
+ can dereference a NULL pointer.
16
+
17
+ Patch (apply with `patch -p0'):
18
+
19
+ *** ../readline-8.3/display.c Fri May 2 09:20:32 2025
20
+ --- display.c Sun Jul 6 17:16:28 2025
21
+ ***************
22
+ *** 784,788 ****
23
+ /* Useful shorthand used by rl_redisplay, update_line, rl_move_cursor_relative */
24
+ #define INVIS_FIRST() (local_prompt_invis_chars[0])
25
+ ! #define WRAP_OFFSET(line, offset) ((line <= prompt_last_screen_line) ? local_prompt_invis_chars[line] : 0)
26
+
27
+ #define W_OFFSET(line, offset) ((line) == 0 ? offset : 0)
28
+ --- 784,788 ----
29
+ /* Useful shorthand used by rl_redisplay, update_line, rl_move_cursor_relative */
30
+ #define INVIS_FIRST() (local_prompt_invis_chars[0])
31
+ ! #define WRAP_OFFSET(line, offset) ((line <= prompt_last_screen_line && local_prompt_invis_chars) ? local_prompt_invis_chars[line] : 0)
32
+
33
+ #define W_OFFSET(line, offset) ((line) == 0 ? offset : 0)
34
+ *** ../readline-8.2/patchlevel 2013-11-15 08:11:11.000000000 -0500
35
+ --- patchlevel 2014-03-21 08:28:40.000000000 -0400
36
+ ***************
37
+ *** 1,3 ****
38
+ # Do not edit -- exists only for use by patch
39
+
40
+ ! 1
41
+ --- 1,3 ----
42
+ # Do not edit -- exists only for use by patch
43
+
44
+ ! 2