Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
mgetty.8835
mgetty-fax-block-code-injection.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mgetty-fax-block-code-injection.patch of Package mgetty.8835
Index: mgetty-1.1.37/fax/faxrunq.in =================================================================== --- mgetty-1.1.37.orig/fax/faxrunq.in +++ mgetty-1.1.37/fax/faxrunq.in @@ -177,7 +177,7 @@ do $AWK 'BEGIN { user=""; mail=""; verbto=""; time=""; re=""; ah=""; } $1=="user" { user=$2 } $1=="mail" { mail=substr( $0, 6) } - $1=="phone" { printf "PHONE=%s;", $2 } + $1=="phone" { printf "PHONE=\"%s\";", $2 } $1=="time" { time=$2 } $1=="verbose_to" { verbto=substr($0,12) } $1=="subject" { re=substr($0,9) } @@ -208,12 +208,12 @@ do command=`tr -d '\042\047\140\134\044\073' <JOB | \ $AWK 'BEGIN { phone="-"; flags=""; pages="" } $1=="phone" { phone=$2 } - $1=="header" { flags=flags" -h "$2 } + $1=="header" { flags=flags" -h \""$2"\"" } $1=="poll" { flags=flags" -p" } $1=="normal_res" { flags=flags" -n" } $1=="acct_handle" { flags=flags" -A \""substr($0,13)"\"" } - $1=="pages" { for( i=2; i<=NF; i++) pages=pages$i" " } - END { printf "'"$FAX_SENDER"' -v%s %s %s", \ + $1=="pages" { for( i=2; i<=NF; i++) pages=pages"\""$i"\" " } + END { printf "'"$FAX_SENDER"' -v%s \"%s\" %s", \ flags, phone, pages }' -` #
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor