EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  <2025 Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  <2025
<== Date ==> <== Thread ==>

Subject: Re: Fix buffer overflow issue in Epics 3.15
From: Ralph Lange via Tech-talk <tech-talk at aps.anl.gov>
To: EPICS Tech Talk <tech-talk at aps.anl.gov>
Date: Mon, 30 Jun 2025 16:05:41 +0200
Dear Bushra,

Redefining _FORTIFY_SOURCE as 2 is a valid workaround, as this is the setting until Ubuntu 24 and on other flavors of Linux.

If you insist on backporting the fixes from EPICS 7, you should have a look at https://github.com/epics-base/epics-base/pull/517.
Be aware that there was no hard bug in the code. That pull request mainly fixes the issue of the runtime system shutting down applications because of a suspected buffer overflow if an application was compiled with _FORTIFY_SOURCE=3.

Cheers,
~Ralph


References:
Fix buffer overflow issue in Epics 3.15 Soltani Farani, Bushra via Tech-talk

Navigate by Date:
Prev: Fix buffer overflow issue in Epics 3.15 Soltani Farani, Bushra via Tech-talk
Next: Re: [EXTERNAL] Re: using PI C-863 Mercury motor controller with linux Dariush Hampai via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  <2025
Navigate by Thread:
Prev: Fix buffer overflow issue in Epics 3.15 Soltani Farani, Bushra via Tech-talk
Next: Recall: Re: Generation of state diagram documentation from SNL Ed Janke via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  <2025
ANJ, 01 Jul 2025 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·