Store name and format string in internal state as their own copies rather than pointers to strings outside the state, for memory safety and to avoid a leak on remote control.

This commit is contained in:
Andrew Wood
2023-08-26 20:49:30 +01:00
parent c0abc9ce3c
commit fe22f0e449
5 changed files with 35 additions and 15 deletions
+1
View File
@@ -5,6 +5,7 @@
* cleanup: added a test to "`make test`" to ensure that "`make install`" installs everything expected
* cleanup: replaced *AC_HEADER_TIOCGWINSZ* with *AC_CHECK_HEADERS(sys/ioctl.h)* for better MacOS compatibility ([#74](https://codeberg.org/a-j-wood/pv/issues/74))
* cleanup: with "`--sync`", call `fsync()` instead of `fdatasync()` on incapable systems ([#73](https://codeberg.org/a-j-wood/pv/issues/73))
* cleanup: keep self-contained copies of name and format string in PV internal state for memory safety
* misc: moved from GitHub to Codeberg; updated issue tracking links in documentation
1.7.24 - 30 July 2023