mirror of
				https://github.com/gnss-sdr/gnss-sdr
				synced 2025-10-31 07:13:03 +00:00 
			
		
		
		
	Avoid out-of-bounds read
This commit is contained in:
		| @@ -221,7 +221,7 @@ int decode_sbstype6(const sbsmsg_t *msg, sbssat_t *sbssat) | |||||||
|         } |         } | ||||||
|     for (i = 0; i < sbssat->nsat && i < MAXSAT; i++) |     for (i = 0; i < sbssat->nsat && i < MAXSAT; i++) | ||||||
|         { |         { | ||||||
|             if (sbssat->sat[i].fcorr.iodf != iodf[i / 28]) |             if (sbssat->sat[i].fcorr.iodf != iodf[i / 32]) | ||||||
|                 { |                 { | ||||||
|                     continue; |                     continue; | ||||||
|                 } |                 } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Carles Fernandez
					Carles Fernandez