Virtual-Assistant
Virtual-Assistant copied to clipboard
Some code safety insights
Thanks for your contribution to opensource! There's some code safety improvements possible, for example:
-
scanf
return value not taken into account. Possibly here(for example) and in other places. - Unfreed memory and unitialized memory access. Possibly here(for example) and in other places. Please check
valgrind
tool to mitigate this kind of safety flaws. - Excessive use of
system
calls without user input validation. Possibly here(for example) and in other places. Please see how it may be abused here.