mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 18:22:45 +00:00 
			
		
		
		
	Kernel: Fix uninitialized member variable in FATFS Filesystem
Reported-by: PVS Studio
This commit is contained in:
		
							parent
							
								
									19a87fce36
								
							
						
					
					
						commit
						bfa890251c
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -45,9 +45,9 @@ private: | |||
| 
 | ||||
|     BlockBasedFileSystem::BlockIndex first_block_of_cluster(u32 cluster) const; | ||||
| 
 | ||||
|     OwnPtr<KBuffer> m_boot_record; | ||||
|     LockRefPtr<FATInode> m_root_inode; | ||||
|     u32 m_first_data_sector; | ||||
|     OwnPtr<KBuffer> m_boot_record {}; | ||||
|     LockRefPtr<FATInode> m_root_inode {}; | ||||
|     u32 m_first_data_sector { 0 }; | ||||
| }; | ||||
| 
 | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Brian Gianforcaro
						Brian Gianforcaro