potential buffer overflow in setup.c
Status: Beta
Brought to you by:
charrea6
In src/setup.c:94, there is potential buffer overflow vulnerability.
The program reads value from an environment variable and puts it to sprintf with no length check.
Since DataDirectory has fixed size, it can cause buffer overflow which leads to buggy behavior.
sprintf(DataDirectory, "%s/.dvbstreamer", getenv("HOME"));