bin/137657: sh(1): /bin/sh misses unmatched quotes in backticks

看板FB_bugs作者時間16年前 (2009/08/11 15:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
>Number: 137657 >Category: bin >Synopsis: sh(1): /bin/sh misses unmatched quotes in backticks >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Aug 11 07:10:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Yar Tikhiy >Release: FreeBSD 8.0-BETA2 amd64 >Organization: BarNet >Environment: System: FreeBSD ref8-amd64.freebsd.org 8.0-BETA2 FreeBSD 8.0-BETA2 #11 r195838: Fri Jul 24 09:52:42 UTC 2009 simon@ref8-amd64.freebsd.org:/scratch/src/sys/amd64/compile/REF8-AMD64 amd64 >Description: /bin/sh misses an unmatched quote in backticks. The closing backtick will implicitly close the open quote as well. This can lead to latent bugs in shell scripts. >How-To-Repeat: $ echo `echo '123` 123 $ echo `echo "123` 123 >Fix: >Release-Note: >Audit-Trail: >Unformatted: _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"
文章代碼(AID): #1AWHvpOF (FB_bugs)