Hello,
This might not appear like a programming question, but inherently deals with code.
I have a following piece of test-code, which has obvious errors like array index out of bounds, memory leak:-
#include "stdio.h"
#include "stdlib.h"
main()
{
int i;
char *ptr;
ptr = (char*)malloc(5);
for(i=0;i<10;i++)
{
ptr[i...
This might not appear like a programming question, but inherently deals with code.
I have a following piece of test-code, which has obvious errors like array index out of bounds, memory leak:-
#include "stdio.h"
#include "stdlib.h"
main()
{
int i;
char *ptr;
ptr = (char*)malloc(5);
for(i=0;i<10;i++)
{
ptr[i]=(char)...
Hello everybody!
I have a Hudson CI system set up and for the moment it is used for building a project and running some unit tests. My next step is to integrate the memory leak detector Purify into the build cycle.
Now I want to start the unit tests also inside purify and for this I have created a new batch task which runs following com...