mirror of
				https://github.com/alsa-project/alsa-tools.git
				synced 2025-10-28 05:40:23 -04:00 
			
		
		
		
	hdspmixer: fix core dump
Initialize the name pointer to NULL. Fixes: https://github.com/alsa-project/alsa-tools/pull/14 Signed-off-by: wynnfeng <wynnfeng@tencent.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
		
							parent
							
								
									5b9c2cb399
								
							
						
					
					
						commit
						8c8d6941f2
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -39,7 +39,7 @@ int main(int argc, char **argv) | |||
| { | ||||
|     HDSPMixerWindow *window; | ||||
|     HDSPMixerCard *hdsp_cards[3]; | ||||
|     char *name, *shortname; | ||||
|     char *name = NULL, *shortname; | ||||
|     int card; | ||||
|     int cards = 0; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 wynnfeng
						wynnfeng