Are you frustrated trying to get Microsoft Frontpage extensions working on your Fedora Core setup? Do you see buffer overflow error in /var/log/httpd/error_log ?

*** buffer overflow detected ***: /usr/sbin/httpd terminated

The answer is that Fedora Core 4 ships with gcc 4.0.0 (Red Hat 4.0.0-8) which appears to check for buffer overflows better then previous versions of gcc.

To resolve this issue please edit

/usr/local/frontpage/version5.0/apache2/mod_fpcgid.c, line 1069

and change:

char szBuf[10];


char szBuf[12];

Then run apxs and recreate with the following 2 commands run while still in the /usr/local/frontpage/version5.0/apache2/ directory.

/usr/sbin/apxs -c mod_frontpage.c mod_fpcgid.c

/usr/sbin/bin/apxs -i -a -n frontpage ./

I do hope this helps someone. This was discovered after someone asked on the apache-fp mailing list about problems on a new FC4 setup.

Apache Frontpage and Fedora GCC problem