mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Fix size of flags output buffer.
This commit is contained in:
		
							
								
								
									
										2
									
								
								input.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								input.c
									
									
									
									
									
								
							@@ -2696,7 +2696,7 @@ input_osc_52(struct input_ctx *ictx, const char *p)
 | 
				
			|||||||
	struct screen_write_ctx	 ctx;
 | 
						struct screen_write_ctx	 ctx;
 | 
				
			||||||
	struct paste_buffer	*pb;
 | 
						struct paste_buffer	*pb;
 | 
				
			||||||
	const char*              allow = "cpqs01234567";
 | 
						const char*              allow = "cpqs01234567";
 | 
				
			||||||
	char                     flags[sizeof allow] = "";
 | 
						char                     flags[sizeof "cpqs01234567"] = "";
 | 
				
			||||||
	u_int			 i, j = 0;
 | 
						u_int			 i, j = 0;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (wp == NULL)
 | 
						if (wp == NULL)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user