]> arthur.barton.de Git - netatalk.git/commit
afpd/directory: avoid unitialized pointer read
authorRiccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
Mon, 11 Feb 2013 21:35:21 +0000 (22:35 +0100)
committerRiccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
Mon, 11 Feb 2013 21:35:21 +0000 (22:35 +0100)
commitb4a69f5a70e1d928f658a3d13238fd98c898a3fb
treed3c247518a38ca3ff8f6ec0d5a307b07a7154975
parent2f88f394f83e819415a7a505b80ba7b57615649a
afpd/directory: avoid unitialized pointer read

Initialize fullpath to null so that in case of error before its
allocation we don't call bdestroy on random memory.

Reported by Coverity as CID #201284.
etc/afpd/directory.c