Fix in calculating the needed buffer length for escaped strings.
This commit is contained in:
1 parent
e484093493
commit
433e400c4d
1 file changed
+1
-1
@@ -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