Fix crash in parse_tag() during every start
Origin: https://build.opensuse.org/package/view_file/openSUSE:Factory/w3m/w3m-parsetagx-crash.patch?expand=1
This commit is contained in:
		
				
					committed by
					
						 Tatsuya Kinoshita
						Tatsuya Kinoshita
					
				
			
			
				
	
			
			
			
						parent
						
							e479f83b19
						
					
				
				
					commit
					608828ed7e
				
			| @@ -221,6 +221,7 @@ parse_tag(char **s, int internal) | ||||
|          int j, hidden=FALSE; | ||||
|          for (j=0; j<i; j++) { | ||||
|            if (tag->attrid[j] == ATTR_TYPE && | ||||
|                tag->value[j] && | ||||
|                strcmp("hidden",tag->value[j]) == 0) { | ||||
|              hidden=TRUE; | ||||
|              break; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user