Last analyzed f4124e6 4 months ago
Default analysis branch is
Currently analyzing run
Possibly missing sizeof() in memory allocation CXX-S1006
Security
Major
4 months ago4 months old
Possibly missing sizeof() in memory allocation
212	__last_block_freed();
213	__check_defragmentation();
214	__check_fragmentation();
215	__malloc_failed();216	__test_realloc();
217	__realloc_defragmentation();
218	return (0);
Possibly missing sizeof() in memory allocation
180
181	void	*ptr1 = malloc(16);
182	void	*ptr2 = malloc(128);
183	void	*ptr3 = malloc(16);184
185	void	*ptr;
186
Possibly missing sizeof() in memory allocation
179	ft_putstr("--------------------------------------\n");
180
181	void	*ptr1 = malloc(16);
182	void	*ptr2 = malloc(128);183	void	*ptr3 = malloc(16);
184
185	void	*ptr;
Possibly missing sizeof() in memory allocation
178	ft_putstr("\n\nTEST 9: realloc (de)fragmentation\n");
179	ft_putstr("--------------------------------------\n");
180
181	void	*ptr1 = malloc(16);182	void	*ptr2 = malloc(128);
183	void	*ptr3 = malloc(16);
184
Possibly missing sizeof() in memory allocation
158	ft_putstr("\n\nTEST 8: test basic realloc\n");
159	ft_putstr("--------------------------------------\n");
160
161	void	*ptr = malloc(32);162
163	strcpy(ptr, "hello word test toto titi tata");
164	show_alloc_mem_ex();