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: 3b9e4d6d4c ("fstools: update to the latest version")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit b181294b02499e41b6b6fa24163f59c9ee4988ed)
master
Daniel Golle 5 years ago committed by Rafał Miłecki
parent 4cd44e5dc7
commit d2ee15ef76
  1. 6
      package/system/fstools/Makefile

@ -12,9 +12,9 @@ PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=$(PROJECT_GIT)/project/fstools.git
PKG_MIRROR_HASH:=988daefe649815d92055bcbe04db5fc0e386e44b3958c1300d8c327b4f04cadd
PKG_SOURCE_DATE:=2020-05-06
PKG_SOURCE_VERSION:=eec16e2f275dc3dcf71e4a27dd608d3dc8f8df1a
PKG_MIRROR_HASH:=1b875efd7d675d74a56602f57dd27093e2feef8761ba28b567e2d2f43db14b48
PKG_SOURCE_DATE:=2020-05-12
PKG_SOURCE_VERSION:=84269037b75de93bdd4ea75b7f50ba77ba976377
CMAKE_INSTALL:=1
PKG_LICENSE:=GPL-2.0

Loading…
Cancel
Save