HomePhabricator

terminology: Increase size of 'buf' to avoid possible truncated string

Authored by devilhorns on Sep 21 2021, 7:18 AM.

Description

terminology: Increase size of 'buf' to avoid possible truncated string

Gcc warns during compile that the output may be truncated here:

../src/bin/options_colors.c:265:14: note: ‘snprintf’ output between 32
and 4127 bytes into a destination of size 4096

To fix this, let's just increase the size of 'buf' slightly.

Details

Committed
devilhornsSep 21 2021, 7:18 AM
Parents
rTRMa6b654ea836b: meson.build: use dependency() & cc.find_library() to find intl
Branches
Unknown
Tags
Unknown