diff options
author | 2017-07-13 10:53:54 -0400 | |
---|---|---|
committer | 2017-07-13 10:53:54 -0400 | |
commit | e33792e80a095b8619951e8c9c4fa0d16aa4c495 (patch) | |
tree | 3ed23fe4384bbc81e2bd9da71a28264aec0742fd /include/swaybar/tray/sni.h | |
parent | Merge pull request #1272 from ascent12/pointer-fix (diff) | |
parent | Don't trust SNI names, fixes #1274 (diff) | |
download | sway-e33792e80a095b8619951e8c9c4fa0d16aa4c495.tar.gz sway-e33792e80a095b8619951e8c9c4fa0d16aa4c495.tar.zst sway-e33792e80a095b8619951e8c9c4fa0d16aa4c495.zip |
Don't trust SNI names, fixes #1274
Diffstat (limited to 'include/swaybar/tray/sni.h')
-rw-r--r-- | include/swaybar/tray/sni.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/swaybar/tray/sni.h b/include/swaybar/tray/sni.h index 83809b2d..c2544e2a 100644 --- a/include/swaybar/tray/sni.h +++ b/include/swaybar/tray/sni.h | |||
@@ -28,6 +28,7 @@ void sni_icon_ref_free(struct sni_icon_ref *sni_ref); | |||
28 | 28 | ||
29 | /** | 29 | /** |
30 | * Will return a new item and get its icon. (see warning below) | 30 | * Will return a new item and get its icon. (see warning below) |
31 | * May return `NULL` if `name` is not valid. | ||
31 | */ | 32 | */ |
32 | struct StatusNotifierItem *sni_create(const char *name); | 33 | struct StatusNotifierItem *sni_create(const char *name); |
33 | 34 | ||