geommer / yabar

A modern and lightweight status bar for X window managers.
MIT License
680 stars 49 forks source link

Replace all sprintf/strcat/strcpy function calls with safer one #187

Open su8 opened 6 years ago

su8 commented 6 years ago

Hello,

It would be great if you replace the sprintf function calls with snprintf as it can overflow and introduce undefined behavior. Same goes for strcat/strcpy.

NBonaparte commented 6 years ago

Unfortunately I'm quite busy right now so I don't really have the time to do this. If anyone else wants to take a stab at it, please do.