mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-11-04 01:58:54 +01:00 
			
		
		
		
	valgrind: Add more suppressions to glib.supp
These were spotted by running the entire test suite under valgrind, thanks to the magic of Meson: see the build rules in valgrind-x86_64 in .gitlab-ci.yml. Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
		
							
								
								
									
										22
									
								
								glib.supp
									
									
									
									
									
								
							
							
						
						
									
										22
									
								
								glib.supp
									
									
									
									
									
								
							@@ -51,6 +51,16 @@
 | 
			
		||||
	fun:initialize_module_inlock_reentrant
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
# One-time allocation from libc for getpwnam() results
 | 
			
		||||
{
 | 
			
		||||
	g-local-vfs-getpwnam
 | 
			
		||||
	Memcheck:Leak
 | 
			
		||||
	fun:malloc
 | 
			
		||||
	...
 | 
			
		||||
	fun:getpwnam
 | 
			
		||||
	fun:g_local_vfs_parse_name
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
	gobject-init-malloc
 | 
			
		||||
	Memcheck:Leak
 | 
			
		||||
@@ -232,6 +242,18 @@
 | 
			
		||||
	fun:_g_io_module_get_default
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
# One-time getaddrinfo() configuration loading
 | 
			
		||||
{
 | 
			
		||||
	g-threaded-resolver-getaddrinfo-config
 | 
			
		||||
	Memcheck:Leak
 | 
			
		||||
	fun:malloc
 | 
			
		||||
	...
 | 
			
		||||
	fun:__resolv_conf_allocate
 | 
			
		||||
	...
 | 
			
		||||
	fun:getaddrinfo
 | 
			
		||||
	fun:do_lookup_by_name
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
# memcheck checks that the third argument to ioctl() is a valid pointer, but
 | 
			
		||||
# some ioctls use that argument as an integer
 | 
			
		||||
{
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user