Markus Armbruster 
		82d0794565 
		
	 
	
	
	pci-assign: Fix potential read beyond buffer on -EBUSY ... 
			readlink() doesn't write a terminating null byte.
assign_failed_examine() passes the unterminated string to strrchr().
Oops.  Terminate it.
Spotted by Coverity.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com> 
		
	 
		2014-02-26 10:30:03 -07:00 
	 
	
	
		 
	
	
		
			
			
			
			
			
			2014-02-26 10:30:03 -07:00 
		 
	
		
			
			
			
			
			
			2014-02-10 10:26:56 +02:00 
		 
	
		
			
			
			
			
			
			2013-10-14 17:48:57 +03:00 
		 
	
		
			
			
			
			
			
			2013-10-14 17:48:57 +03:00 
		 
	
		
			
			
			
			
			
			2014-01-26 13:11:44 +02:00 
		 
	
		
			
			
			
			
			
			2013-10-14 17:48:51 +03:00 
		 
	
		
			
			
			
			
			
			2014-02-10 11:09:33 +02:00 
		 
	
		
			
			
			
			
			
			2014-01-26 13:06:48 +02:00 
		 
	
		
			
			
			
			
			
			2014-01-26 13:11:44 +02:00 
		 
	
		
			
			
			
			
			
			2014-01-26 13:11:44 +02:00 
		 
	
		
			
			
			
			
			
			2014-01-26 13:11:44 +02:00 
		 
	
		
			
			
			
			
			
			2014-02-01 13:43:52 +04:00 
		 
	
		
			
			
			
			
			
			2013-10-14 17:48:52 +03:00 
		 
	
		
			
			
			
			
			
			2014-01-10 11:04:31 -08:00 
		 
	
		
			
			
			
			
			
			2014-01-26 13:11:44 +02:00 
		 
	
		
			
			
			
			
			
			2013-06-28 14:01:52 -05:00 
		 
	
		
			
			
			
			
			
			2013-06-02 18:14:02 +03:00 
		 
	
		
			
			
			
			
			
			2014-02-20 13:05:48 +00:00 
		 
	
		
			
			
			
			
			
			2014-01-26 13:11:45 +02:00 
		 
	
		
			
			
			
			
			
			2013-12-23 13:12:34 +02:00 
		 
	
		
			
			
			
			
			
			2014-02-05 16:55:50 +02:00 
		 
	
		
			
			
			
			
			
			2014-01-26 13:11:44 +02:00 
		 
	
		
			
			
			
			
			
			2014-01-26 13:11:44 +02:00 
		 
	
		
			
			
			
			
			
			2013-12-10 13:29:22 +02:00 
		 
	
		
			
			
			
			
			
			2013-10-14 17:48:51 +03:00 
		 
	
		
			
			
			
			
			
			2013-10-14 17:48:51 +03:00 
		 
	
		
			
			
			
			
			
			2014-01-26 13:11:44 +02:00 
		 
	
		
			
			
			
			
			
			2014-01-26 13:11:44 +02:00 
		 
	
		
			
			
			
			
			
			2013-10-14 17:48:57 +03:00 
		 
	
		
			
			
			
			
			
			2014-01-26 13:11:44 +02:00 
		 
	
		
			
			
			
			
			
			2013-08-22 19:14:24 +02:00 
		 
	
		
			
			
			
			
			
			2013-04-08 18:13:16 +02:00 
		 
	
		
			
			
			
			
			
			2013-08-28 10:16:47 +03:00