Fix buffer size

Review Request #475 — Created Feb. 4, 2021 and submitted

rlaager
libgnt/libgnt
default
6f8fb817cf9a
pidgin
../gntwm.c:819:47: warning: ‘__builtin___snprintf_chk’ output may be
truncated before the last format character [-Wformat-truncation=]
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note:
‘__builtin___snprintf_chk’ output between 8 and 13 bytes into a
destination of size 12

With this change, the compiler warning is eliminated.

Description From Last Updated

This should be merged into release-2.x.y as well, however that is handled.

rlaagerrlaager
rlaager
  1. 
      
  2. This should be merged into release-2.x.y as well, however that is handled.

  3. 
      
QuLogic
  1. Ship It!
  2. 
      
grim
Review request changed

Status: Closed (submitted)

Loading...