Experimental Physics and Industrial Control System
|
I have approved the changes in your github pull request and added them to a new release.
Thanks,
--Bob Soliday
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Sang-Woo Kim via Tech-talk <tech-talk at aps.anl.gov>
Sent: Friday, May 31, 2024 2:38 AM
To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Issue with medm's PV Info Message on Ubuntu 24.04
Dear Techtalk Community,
I am writing to bring to your attention an issue we encountered with the PV Info message in the medm application on Ubuntu 24.04. The use of `sprintf` for overlapping buffer read/write operations has led to undefined behavior. The `sprintf` function was reading
from and writing to the same buffer, causing memory overlap issues and unexpected results.
We have addressed this problem by replacing `sprintf` with `snprintf`, ensuring safe string concatenation and buffer management. The changes have been tested on Ubuntu 24.04 and have resolved the issue.
For more details, you can review the pull request here:
https://github.com/epics-extensions/medm/pull/8
Best regards,
Sang-Woo Kim
PLS-II, PAL, South Korea
|
- References:
- Issue with medm's PV Info Message on Ubuntu 24.04 Sang-Woo Kim via Tech-talk
- Navigate by Date:
- Prev:
Suspended task in connection with autosave Heinz Junkes via Tech-talk
- Next:
ImageJ AD Plugins and PVXS Joshua Einstein-Curtis 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:
Issue with medm's PV Info Message on Ubuntu 24.04 Sang-Woo Kim via Tech-talk
- Next:
Suspended task in connection with autosave Heinz Junkes 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, 11 Sep 2024 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
·
Download
·
Search
·
IRMIS
·
Talk
·
Documents
·
Links
·
Licensing
·
|