Files
rtems/cpukit/libmisc
Frank Kühndel f3df25b65c cpukit/libmisc/monitor: Fix an illegal string copy
This is actually an illegal use of strcpy() because one is not allowed to
use this function with overlapping source and destination buffers; whereas
memmove() is explicitly designed to handle such cases.

The compiler warning was:

../../../cpukit/libmisc/monitor/mon-editor.c:342:15: warning:
'strcpy' accessing 1 byte at offsets [0, 75] and [0, 75] overlaps
1 byte at offset [0, 74] [-Wrestrict]
2020-10-12 08:46:48 +02:00
..
2020-04-28 09:04:00 +02:00
2020-04-28 09:04:00 +02:00
2018-10-02 10:22:15 +02:00
2020-08-20 07:44:33 +02:00
2018-01-25 08:45:26 +01:00
2019-11-26 08:10:27 +01:00
2018-01-25 08:45:26 +01:00
2020-04-16 07:30:00 +02:00
2018-01-25 08:45:26 +01:00

This directory contains for the "miscellaneous" library.  Currently
this library contains a number of useful support libraries:

  + Task Stack Overflow Checker
  + Workspace Consistency Checker
  + Task Execution Time Monitor
  + Period Statistics Monitor
  + Debug Monitor

The following ideas have been mentioned for items which could go
in this library, but this list is not all inclusive:

  + there are no outstanding suggestions.

The intent of this library is to provide a home for useful utility routines
which are dependent upon RTEMS.

--joel
16 Sept 97