diff options
author | Lu YaNing <[email protected]> | 2025-08-12 20:07:26 +0800 |
---|---|---|
committer | Lu YaNing <[email protected]> | 2025-08-20 11:47:55 +0800 |
commit | 051f116818a1be09f4f0298efb9113348431b119 (patch) | |
tree | 9979febe299b49c70cc82d2a594d605f5257da51 /qmake/qmakelibraryinfo.h | |
parent | 038d127fe573128b987c700d6173990839ee33ad (diff) |
The display_name buffer size was insufficient for the maximum possible
output of snprintf with format "wayland-%d". The compiler warned that
output could be 10-20 bytes but the destination buffer was only 16 bytes.
Increase buffer size from 16 to 32 bytes to accommodate the worst case
scenario (e.g., "wayland--2147483647") and provide safety margin.
Change-Id: Id980a0d897f06d1a0c1f2cb2afba9f6cd36c2988
Reviewed-by: David Edmundson <[email protected]>
Diffstat (limited to 'qmake/qmakelibraryinfo.h')
0 files changed, 0 insertions, 0 deletions