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)
committerRafał Miłecki <rafal@milecki.pl>
Tue, 12 May 2020 11:24:23 +0000 (13:24 +0200)
commitd2ee15ef7605cb5d91e6d05af54e91df5de68452
treecc916d7bb5bc12e0fa584730a822675ad37bf253
parent4cd44e5dc73ff9554cf31773b008f7ee94d979ed
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