FreeBSD Bugzilla – Attachment 238790 Details for
Bug 268378
parsing error in network.subr can result in infinite loop on bootup
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
network.subr patch
file_268378.txt (text/plain), 956 bytes, created by
jyoung15
on 2022-12-14 19:02:32 UTC
(
hide
)
Description:
network.subr patch
Filename:
MIME Type:
Creator:
jyoung15
Created:
2022-12-14 19:02:32 UTC
Size:
956 bytes
patch
obsolete
>--- /etc/network.subr 2022-12-13 22:55:03.480523000 -0500 >+++ /etc/network.subr 2022-12-14 12:24:00.168988000 -0500 >@@ -1047,14 +1047,11 @@ > esac > done > # Process the last component if any. >- if [ -n "$_tmpargs}" ]; then >- case $_tmpargs in >- ${_af}\ *[0-9a-fA-F]-*) >+ if [ -n "$_tmpargs" ]; then >+ if expr "$_tmpargs" : ${_af}' \{1,\}[0-9a-fA-F.:]\{1,\}-[0-9a-fA-F.:]\{1,\}/[0-9]\{1,\}' >/dev/null 2>&1; then > ifalias_af_common_handler $_if $_af $_action \ > `ifalias_expand_addr $_af $_action ${_tmpargs#${_af}\ }` >- ;; >- ${_af}\ *) >+ elif expr "$_tmpargs" : "${_af} " >/dev/null 2>&1; then > ${IFCONFIG_CMD} $_if $_tmpargs $_action && _ret=0 >- ;; >- esac >+ fi > fi > > return $_ret
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 268378
:
238789
|
238790
|
238791
|
238793