Files
rtems/cpukit/libmisc
Frank Kühndel daeb0a1881 rtems-fdt / shell - Fix string truncation warning
The compiler warning was:

../../../cpukit/libmisc/rtems-fdt/rtems-fdt.c:267:5: warning:
'strncpy' specified bound depends on the length of the source argument
  267 |     strncpy(path, name, namelen);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

It turns out that the `strncpy()` nor the buffer `path` is needed when
one uses `strncmp()` instead of `strcmp()`. This needs some change to
the algorithm but has the advantage that `name` is never truncated
to the size of the buffer `path`.
2020-10-20 07:01:29 +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
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