mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	fix *serious* (new) bug in evalfile: forgot to initialize s!!!
This commit is contained in:
		
							parent
							
								
									7268c93c55
								
							
						
					
					
						commit
						2b81dc9c00
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -229,6 +229,7 @@ builtin_execfile(self, v) | |||
| 		    "execfile arguments must be filename[,dict[,dict]]"); | ||||
| 		return NULL; | ||||
| 	} | ||||
| 	s = getstringvalue(str); | ||||
| 	if (strlen(s) != getstringsize(str)) { | ||||
| 		err_setstr(ValueError, "embedded '\\0' in string arg"); | ||||
| 		return NULL; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Guido van Rossum
						Guido van Rossum