Experimental Physics and Industrial Control System
** Tags added: codeathon
--
You received this bug notification because you are a member of EPICS
Core Developers, which is subscribed to EPICS Base.
Matching subscriptions: epics-core-list-subscription
https://bugs.launchpad.net/bugs/1943245
Title:
epicsStrnEscapedFromRaw may print inclomplete escape sequences
Status in EPICS Base:
New
Bug description:
When epicsStrnEscapedFromRaw runs out of buffer space in the middle of an escape sequence, it prints incomplete and thus invalid sequences.
For example printing "\xff" (1 byte 0xff) into a buffer that is too short may result in `\`, `\x`, or `\xf`. In particular a stray `\` at the end may be misinterpreted for example when the escaped string itself is printed in quotes and then the outer ending quote gets "escaped".
Instead of printing incomplete sequences it should rather not print
the sequence at all.
To manage notifications about this bug go to:
https://bugs.launchpad.net/epics-base/+bug/1943245/+subscriptions
- Navigate by Date:
- Prev:
[Bug 1971737] Re: EPICS 3.13 clients cannot connect to EPICS 7 or 3.16 mdavidsaver via Core-talk
- Next:
[Bug 1939568] Re: Writing to mbboDirect.VAL does not work any more in EPICS >= 3.15 Andrew Johnson via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
<2022>
2023
2024
- Navigate by Thread:
- Prev:
[Bug 1971737] Re: EPICS 3.13 clients cannot connect to EPICS 7 or 3.16 Dirk Zimoch via Core-talk
- Next:
[Bug 1943245] Re: epicsStrnEscapedFromRaw may print inclomplete escape sequences Andrew Johnson via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
<2022>
2023
2024