You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue Description
Referential integrity plugin in the case when processing a line from the logfile. When a null pointer is dereferenced server crash.
Steps to Reproduce
Steps to reproduce the behavior:
enable the plugin using transactions (betxnpostoperation)
set delay > =1
move entry from containerscope
server crash
Expected results
Skipping a line in the log
Additional context
When processing the next line GetNextLine(thisline, MAX_LINE, prfd)
the ldap_utf8strtok_r function may return null.
When passing null to strcasecmp, a crash may occur inside.
The first call ldap_utf8strtok_r(NULL and the ptoken assignment are checked for null, the second and third are not.
…oes not handle null from ldap_utf8strtok (#6168)
Added a check for _null_ for the **ptoken** variable when returning from **ldap_utf8strtok_r**.
Issue: #6175
Reviewed by: @progier389
Issue Description
Referential integrity plugin in the case when processing a line from the logfile. When a null pointer is dereferenced server crash.
Steps to Reproduce
Steps to reproduce the behavior:
Expected results
Skipping a line in the log
Additional context
When processing the next line GetNextLine(thisline, MAX_LINE, prfd)
the ldap_utf8strtok_r function may return null.
When passing null to strcasecmp, a crash may occur inside.
The first call ldap_utf8strtok_r(NULL and the ptoken assignment are checked for null, the second and third are not.
There is a solution to this PR:
#6168
The text was updated successfully, but these errors were encountered: