Experimental Physics and
| |||||||||||||||
|
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
| ||||||||||||||
ANJ, 11 Sep 2024 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |