gnotclub / xst

st fork that uses Xresources and some pretty good patches
MIT License
536 stars 73 forks source link

Fix buffer overflow. sprintf prints a trailing null. #7

Closed waldnercharles closed 7 years ago

waldnercharles commented 7 years ago

sprintf will always attempt to write a trailing null, so the length of st.color255\0 is 12, not 11.