File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ reg_path_t* reg_make_path(uint32_t depth, ...)
251251 }
252252
253253 // Allocation of registry path struct
254- reg_path_t * reg_path_ptr = malloc_check (reg_path_ptr , sizeof (reg_path_t ), hv_alloc_error );
254+ reg_path_t * reg_path_ptr = malloc_check (reg_path_ptr , sizeof (reg_path_t ), NULL );
255255
256256 // Setting given values
257257 reg_path_ptr -> size = depth ;
Original file line number Diff line number Diff line change @@ -275,10 +275,10 @@ void* reg_get_value(const value_key_t* vk_ptr, FILE* hive_ptr);
275275wchar_t * reg_get_class (named_key_t * nk_ptr , FILE * hive_ptr );
276276
277277// Sets file cursor from beggining to 0x1000 + root_offset
278- inline int hive_file_seek (FILE * hive_ptr , const uint32_t root_offset );
278+ int hive_file_seek (FILE * hive_ptr , const uint32_t root_offset );
279279
280280// Reads structure from given give
281- inline size_t hive_read_struct (FILE * hive_ptr , void * hive_struct , size_t read_size );
281+ size_t hive_read_struct (FILE * hive_ptr , void * hive_struct , size_t read_size );
282282
283283// Reads root named key and header of a hive
284284int hive_get_root (FILE * hive_ptr , hive_header_t * hive_header_ptr , named_key_t * root_key_ptr );
You can’t perform that action at this time.
0 commit comments