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: Fix buffer overflow issue in Epics 3.15
From: "Soltani Farani, Bushra via Tech-talk" <tech-talk at aps.anl.gov>
To: <tech-talk at aps.anl.gov>
Date: Mon, 30 Jun 2025 14:26:35 +0200 (CEST)
Dear Tech-Talk, 

I have a question regarding the buffer overflow issue caused by
_FORTIFY_SOURCE=3 in Ubuntu 24.04.
I have seen that in EPICS 7.0.8.1, this problem was worked around by
redefining _FORTIFY_SOURCE to 2. Then, in EPICS 7.0.9, the flag was reset
to 3, but the issue was fixed in the code.
By comparing the two versions, I see a lot of changes, mostly in .c files,
and I assume most of them are related to fixing the buffer overflow issue.
First, I want to know if I understood this correctly.
Secondly, what is the solution for R3.15.9? Is setting -D_FORTIFY_SOURCE=2
enough? Or will there be a fix for this in a future R3.15.9 release?

Best regards
Bushra

Replies:
Re: Fix buffer overflow issue in Epics 3.15 Ralph Lange via Tech-talk

Navigate by Date:
Prev: RE: Issues in MCA module with XFlash detector Abdalla Ahmad via Tech-talk
Next: Re: Fix buffer overflow issue in Epics 3.15 Ralph Lange 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: RE: Issues with drvAsynIPServerPort for UDP Mark Rivers via Tech-talk
Next: Re: Fix buffer overflow issue in Epics 3.15 Ralph Lange 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, 30 Jun 2025 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·