fstools: blockd: fix segfault triggered by non-autofs mounts
authorDaniel Golle <daniel@makrotopia.org>
Tue, 12 May 2020 09:48:50 +0000 (10:48 +0100)
committerRISCi_ATOM <bob@bobcall.me>
Thu, 21 May 2020 16:59:43 +0000 (12:59 -0400)
commit05dc838d13fd8c5faf81af992b194f679f78780b
treee4aafa7750f174428836b4c73b5ac2fc859313e4
parentff8cae7e955e619a0e19bded34fa508ae135eba1
fstools: blockd: fix segfault triggered by non-autofs mounts

Program received signal SIGSEGV, Segmentation fault.
main_autofs (argv=<optimized out>, argc=<optimized out>)
    at fstools-2020-05-06-eec16e2f/block.c:1193
1193:    if (!m->autofs && (mp = find_mount_point(pr->dev))) {

Fixes: 3b9e4d6d4c4f ("fstools: update to the latest version")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit b181294b02499e41b6b6fa24163f59c9ee4988ed)
package/system/fstools/Makefile