Public bug reported: davfs2 uses the fscanf format string "%a[0-9]". "%a" is part of C89, but not C99, and tells fscanf to do the string allocation.
The fscanf man page states: Note that the a modifier is not available if the program is compiled with gcc -std=c99 or gcc -D_ISOC99_SOURCE (unless _GNU_SOURCE is also specified), in which case the a is interpreted as a specifier for floating-point numbers (see above). Support for the m modifier was added to glibc starting with version 2.7, and new programs should use that modifier instead of a. Switching the a to an m prevents the crash. ** Affects: davfs2 (Ubuntu) Importance: Undecided Status: New ** Patch added: "Fix crash in umount due to fscanf format" https://bugs.launchpad.net/bugs/1859293/+attachment/5319301/+files/fixfscanf.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1859293 Title: davfs2 umount.davfs crashes when compiled with gcc 9 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/davfs2/+bug/1859293/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs