Package: owfs-fuse
Version: 3.1p1-2
Severity: important
Tags: patch upstream

If you pass --fuse-opt or --fuse-open-opt to the ofws fuse program, it will 
crash.

Submitted upstream as https://sourceforge.net/p/owfs/bugs/69/

Patch to fix this attached

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'buildd-unstable'), (500, 'unstable'), 
(1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Contrary to quilt, dpkg-source does not handle correctly various EOL :-(
So, we store the whole diff here
--- a/module/owfs/src/c/fuse_line.c
+++ b/module/owfs/src/c/fuse_line.c
@@ -97,7 +97,7 @@
 	
 	orm.number = 1 ;
 	
-	ow_regcomp( &rx_farg, "^\".+\"$", 0 ) ;
+	ow_regcomp( &rx_farg, "^\"(.+)\"$", 0 ) ;
 	
 	if ( ow_regexec( &rx_farg, opt_arg, &orm ) != 0 ) {
 		fprintf(stderr, "Put the %s value in quotes. \"%s\"", entryname, opt_arg);

Reply via email to