mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Merge pull request #2862 from SpeedJack/fix-stringop-overflow
Fix overflow in strcpy
This commit is contained in:
		
						commit
						8d56269d9c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -10,7 +10,7 @@
 | 
			
		|||
#include "log.h"
 | 
			
		||||
#include "stringop.h"
 | 
			
		||||
 | 
			
		||||
static const char *overflow = "[buffer overflow]";
 | 
			
		||||
static const char overflow[] = "[buffer overflow]";
 | 
			
		||||
static const int max_chars = 16384;
 | 
			
		||||
 | 
			
		||||
size_t escape_markup_text(const char *src, char *dest) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue