mirror of
				https://github.com/eledio-devices/thirdparty-littlefs.git
				synced 2025-10-31 16:14:16 +01:00 
			
		
		
		
	This bug was a result of an annoying corner case around intermingling signed and unsigned offsets. The boundary check that prevents seeking a file to a position before the file was preventing valid seeks with positive offsets. This corner case is a bit more complicated than it looks because the offset is signed, while the size of the file is unsigned. Simply casting both to signed or unsigned offsets won't handle large files.
		
			
				
	
	
	
		
			12 KiB
		
	
	
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			12 KiB
		
	
	
	
	
		
			Executable File