diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2022-10-23 14:01:41 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2022-10-23 19:00:29 +0200 |
commit | 6f1635ae4e83e0f0eb676e127f0370e141c9caa0 (patch) | |
tree | 99f86c6093cc57fba5e8a34bdbc65b325c310bd6 /doc/en/weechat.1.en.adoc | |
parent | 09839150a868c135ff2b6a66cb4df310d34c9784 (diff) | |
download | weechat-6f1635ae4e83e0f0eb676e127f0370e141c9caa0.zip |
core: Prevent use of uninitialized memory when setting invalid color
If a color option value is null and is tried being set to an invalid
color, the value was set to uninitialized memory which can lead to a
segfault.
Can be reproduced with this script:
https://gist.github.com/trygveaa/6ddb3a52f525a7fd8e0908bafa83e07c
The option doesn't have to be set from a script, it also happens with
the /set command.
Diffstat (limited to 'doc/en/weechat.1.en.adoc')
0 files changed, 0 insertions, 0 deletions