How to Fix a Buffer Overflow in Windows XP
Enable DEP
1. To enable DEP for all programs, go to 'Start' and click on 'Control Panel.'
2. In the control panel window that opens up, double-click on the 'System' icon.
3. In the 'System Properties' dialog box that opens up, click on the 'Advanced' tab.
4. Under 'Performance,' click on the 'Settings' button.
5. In the 'Performance' dialog box that opens up, click on the 'Data Execution Prevention' tab.
6. Click on the 'Turn on DEP for all programs and services except those I select' option.
7. Click on 'OK' to close the 'Performance Options' dialog box. Click on 'OK' to close the 'System Properties' dialog box. Restart your computer.
Add a Program to DEP Exception List
8. Some programs may not work properly because of your enabling DEP for all programs. However, you can overcome this problem by adding that program to the DEP exception list. To add a Program to DEP exception list, go to 'Start' and click on 'Control Panel.'
9. In the control panel window that opens up, double-click on the 'System' icon.
10. In the 'System Properties' dialog box that opens up, click on the 'Advanced' tab.
11. Under 'Performance,' click on the 'Settings' button.
12. In the 'Performance' dialog box that opens up, click on the 'Data Execution Prevention' tab.
13. Click on the 'Add' button.
14. In the 'Open' dialog box that opens up, search and select the program file that you want to add as an exception.
15. Click on 'Open.'
16. Click on 'OK' to close the 'Performance Options' dialog box. Click on 'OK' to close the 'System Properties' dialog box. Restart your computer.