I have written a C programand compiled with the version of gcc which comes with redhat6.1 - I need to use the code on a machine which has redhat5.2 installed. It runs fine on 6.1 but gives a segmentation fault on 5.2. here's the code:
//the problem occurs in the next line
The access to the *y pointer causes a segmentation fault on 5.2 but works fine on 6.1 Can anybody help?
This tutorial covers some basics of pointer, pointer arithmetic and function pointer.
What is a pointer:
A pointer is a variable which holds an address. This address might be address of another variable/address of devices/address of fu…
Examines three attack vectors, specifically, the different types of malware used in malicious attacks, web application attacks, and finally, network based attacks. Concludes by examining the means of securing and protecting critical systems and inf…