PeachOS icon indicating copy to clipboard operation
PeachOS copied to clipboard

Simple kernel designed for a online course

Results 24 PeachOS issues
Sort by recently updated
recently updated
newest added

process_load_for_slot kzallocs a new struct process, but never kfrees it. Possible solution: process_unlink(): `processes[process->id] = 0;` `kfree(process);` `if (current_process == process)` `{` ` process_switch_to_any();` `}`

Memory leak at elf_file pointer when process_load_elf function calls elf_load and elf_load fails because of some reason _**task/process.c**_ static int process_load_elf(const char* filename, struct process* process) { int res =...

The function in fat16.c "fat16_get_fat_entry" is responsible for getting fat entry for cluster. During this seek operation, it needs to set the position for disk streamer seek This position was...

Error messages in fat16_open There is a problem with an error message returned from fat16_open. It shows up when trying to run a program from the shell and forgetting to...