1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-01-31 10:57:22 +01:00
Sergei Trofimovich 41e93adbdb game_chess.c: always use "%s"-style format for printf()-style functions
`ncuses-6.3` added printf-style function attributes and now makes
it easier to catch cases when user input is used in palce of format
string when built with CFLAGS=-Werror=format-security:

    toxic/src/game_chess.c:1633:63: error:
      format not a string literal and no format arguments [-Werror=format-security]
     1633 |         mvwprintw(win, board->y_bottom_bound + 2, x_mid, state->status_message);
          |                                                          ~~~~~^~~~~~~~~~~~~~~~

Let's wrap all the missing places with "%s" format.
2021-11-04 09:44:33 +00:00
2021-05-24 13:50:00 -04:00
2014-10-01 19:38:09 -04:00
2021-06-28 13:54:25 -04:00
2020-05-04 20:54:58 +01:00
2016-07-19 00:06:52 +01:00
2021-09-12 16:58:28 +02:00

Coverity Scan Build Status

Toxic is a Tox-based instant messaging and video chat client.

Toxic Screenshot

Installation

See the install instructions

Settings

Running Toxic for the first time creates an empty file called toxic.conf in your home configuration directory ("~/.config/tox" for Linux users). Adding options to this file allows you to enable auto-logging, change the time format (12/24 hour), and much more. You can view our example config file here.

Troubleshooting

If your default prefix is "/usr/local" and you receive the following:

error while loading shared libraries: libtoxcore.so.0: cannot open shared object file: No such file or directory

you can attempt to correct it by running sudo ldconfig. If that doesn't work, run:

echo '/usr/local/lib/' | sudo tee -a /etc/ld.so.conf.d/locallib.conf
sudo ldconfig
Description
A Tox-based instant messaging and video chat client
Readme 18 MiB
Languages
C 95.5%
Makefile 1.8%
Objective-C 1%
Shell 1%
Python 0.6%
Other 0.1%