Skip to content
Snippets Groups Projects
Commit 323d9a68 authored by Philippe Canal's avatar Philippe Canal
Browse files

Revert "Fix potential string overlap in call to strncat() in TSystem"

This reverts commit 912ee789.

The apparent overlap mentioned in:

  Before reaching the changed line, c is set to be an index into buff,
  so the strings can overlap if no copy is performed, and that leads
  to unpredictable behaviour.

can not happen by construction as the buffer is 'segmented' in 4
independent parts.
parent 358db2a5
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment