coverity#1242486 Out-of-bounds access
Change-Id: I24d73edd90a7fbfe63dd70a1784fb2276ceb079b
This commit is contained in:
@@ -478,7 +478,7 @@ send_args( int fd, rtl_uString *pCwdPath )
|
||||
|
||||
if ( bResult )
|
||||
{
|
||||
char resp[ strlen( "InternalIPC::ProcessingDone" ) ];
|
||||
char resp[SAL_N_ELEMENTS("InternalIPC::ProcessingDone")];
|
||||
ssize_t n = read( fd, resp, SAL_N_ELEMENTS( resp ) );
|
||||
bResult = n == (ssize_t) SAL_N_ELEMENTS( resp )
|
||||
&& (memcmp(
|
||||
|
Reference in New Issue
Block a user