mirror of
				https://git.tardis.systems/mirrors/yuzu
				synced 2025-10-29 17:54:06 +01:00 
			
		
		
		
	audio: fix released buffer bounds check
This commit is contained in:
		
							parent
							
								
									c04567fad4
								
							
						
					
					
						commit
						2c00599a53
					
				| @ -146,11 +146,15 @@ public: | ||||
|                 break; | ||||
|             } | ||||
| 
 | ||||
|             if (released < tags.size()) { | ||||
|                 tags[released] = tag; | ||||
|             } | ||||
| 
 | ||||
|             released++; | ||||
| 
 | ||||
|             if (released >= tags.size()) { | ||||
|                 break; | ||||
|             } | ||||
| 
 | ||||
|             tags[released++] = tag; | ||||
|         } | ||||
| 
 | ||||
|         return released; | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user