diff -u pmount-0.9.11/debian/changelog pmount-0.9.11/debian/changelog --- pmount-0.9.11/debian/changelog +++ pmount-0.9.11/debian/changelog @@ -1,3 +1,13 @@ +pmount (0.9.11-1ubuntu1) dapper-updates; urgency=low + + * Add debian/patches/02-fix-regex.patch: + - [a-zA-Z0-9] in regular expressions does not work in some locales like + et_EE, so use [:alnum:] instead. + - Patch taken from bzr head. + - Closes: LP#49655 + + -- Martin Pitt Fri, 7 Jul 2006 14:56:30 +0200 + pmount (0.9.11-1) unstable; urgency=low * New upstream bugfix release: only in patch2: unchanged: --- pmount-0.9.11.orig/debian/patches/02-fix-regex.patch +++ pmount-0.9.11/debian/patches/02-fix-regex.patch @@ -0,0 +1,12 @@ +--- pmount/src/policy.c ++++ pmount/src/policy.c +@@ -402,7 +402,7 @@ + regex_t re; + regmatch_t match[3]; + int result; +- const char* whitelist_regex = "^[[:space:]]*([a-zA-Z0-9/_+.-]+)[[:space:]]*(#.*)?$"; ++ const char* whitelist_regex = "^[[:space:]]*([[:alnum:]/_+.\-]+)[[:space:]]*(#.*)?$"; + + fwl = fopen( WHITELIST, "r" ); + if( !fwl ) +