Fix in calculating the needed buffer length for escaped strings.
This commit is contained in:
@@ -157,7 +157,7 @@ size_t epicsStrnEscapedFromRawSize(const char *inbuf, size_t inlen)
|
||||
break;
|
||||
default:
|
||||
if (!isprint((int)c))
|
||||
nout += 4;
|
||||
nout += 3;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user