Xinqi Bao's Git
projects
/
slstatus.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (from:
6f01174
)
Fixed possible NULL-deref and removed unnecessary XOpenDisplay()
author
Aaron Marcher <
[email protected]
>
Fri, 11 Aug 2017 12:33:02 +0000
(14:33 +0200)
committer
Aaron Marcher <
[email protected]
>
Fri, 11 Aug 2017 12:33:02 +0000
(14:33 +0200)
- Added a check for the return value of XOpenDisplay() in main().
This fixes a possible NULL-deref.
- Removed unnsecessary XOpenDisplay and XCloseDisplay from
keyboard_indicators(). The ones in main() are sufficent.
No differences found