Command line bug in 10-25-2017 build

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
Honkerism
DD-WRT Novice


Joined: 21 Jan 2012
Posts: 6

PostPosted: Wed Nov 01, 2017 20:18    Post subject: Command line bug in 10-25-2017 build Reply with quote
I have the latest version installed on a Netgear R7000.
ftp://ftp.dd-wrt.com/betas/2017/10-25-2017-r33607/netgear-r7000/netgear-r7000-webflash.bin

The web interface crashes on receiving input greater than 85 characters.

To replicate, navigate to Administration->Commands, and run...

to pass:
echo 6-----------------------------------------------------------------------------85

to fail:
echo 6------------------------------------------------------------------------------86
Sponsor
ddaniel51
DD-WRT Guru


Joined: 19 Feb 2013
Posts: 1464

PostPosted: Thu Nov 02, 2017 13:33    Post subject: Reply with quote
How many do you get with telnet and ssh?
_________________
Segment 1 XR700 10Gb LAN, 1Gb WAN ISP BS
Wired AP 1 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 2 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 3 Unifi Wifi 6 LR US 1Gb LAN
Syslog Services Asustor 7110T NAS 10GB
NetGear XS716T 10GB Switch
download1.dd-wrt.com/dd-wrtv2/downloads/betas/ (Brain Slayer)
YAMon https://usage-monitoring.com/index.php
darkHorse
DD-WRT Novice


Joined: 17 Aug 2008
Posts: 7
Location: Itinerant

PostPosted: Thu Nov 02, 2017 15:46    Post subject: Reply with quote
ddaniel51 wrote:
How many do you get with telnet and ssh?


This issue does not affect Telnet/SSH. It only affects running commands via Administration-->Commands input box.

_________________
Plug-and-Play VPN router and unblocker
http://unzoner.com/

Smart DNS proxy to watch Netflix
http://netflix-proxy.belodedenko.me/
mwchang
DD-WRT Guru


Joined: 26 Mar 2013
Posts: 1857
Location: Hung Hom, Hong Kong

PostPosted: Sat Nov 04, 2017 15:30    Post subject: Re: Command line bug in 10-25-2017 build Reply with quote
Honkerism wrote:
The web interface crashes on receiving input greater than 85 characters.

To replicate, navigate to Administration->Commands, and run...

to pass:
echo 6-----------------------------------------------------------------------------85

to fail:
echo 6------------------------------------------------------------------------------86


Something to do with HTML codes for the Web-GUI?

https://www.w3schools.com/tags/att_input_size.asp

_________________
Router: Asus RT-N18U (rev. A1)

Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!

Facebook: https://www.facebook.com/changmanwai
Website: https://sites.google.com/site/changmw
SETI@Home profile: http://setiathome.berkeley.edu/view_profile.php?userid=211832
GitHub: https://github.com/changmw/changmw
darkHorse
DD-WRT Novice


Joined: 17 Aug 2008
Posts: 7
Location: Itinerant

PostPosted: Thu Nov 09, 2017 13:56    Post subject: Reply with quote
It's to do with the character buffer length in the firmware. It has been doubled in r33679.
_________________
Plug-and-Play VPN router and unblocker
http://unzoner.com/

Smart DNS proxy to watch Netflix
http://netflix-proxy.belodedenko.me/
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum