]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
audiod: Use para_malloc().
authorAndre Noll <maan@tuebingen.mpg.de>
Sat, 9 Oct 2021 15:20:06 +0000 (17:20 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Sat, 9 Oct 2021 15:49:12 +0000 (17:49 +0200)
If the allocation fails we feed NULL to strncpy(3) which should
result in a segfault. With para_malloc() a clear error message will
be shown instead.

Found by gcc's -fanalyzer option.


No differences found