Focal Point
[SHARING] Shortest code to crash WF?

This topic can be found at:
http://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/3697030196

January 14, 2019, 04:06 AM
Dave
[SHARING] Shortest code to crash WF?
Hi all...

did I just find the shortest code to crash WF?

'%00'


Originally it came form:
-SET &WILDCARD = '%00'; 


But the first code is enough to get an unexplained 'ACCESS DENIED'.

Yes, it's some URL encode stuff I know. Still weird.


Greets,Dave


_____________________
WF: 8.0.0.9 > going 8.2.0.5
January 14, 2019, 11:42 AM
Hallway
Interesting. Might be release specific. All I got was:
 (FOC1517) UNRECOGNIZED COMMAND %00 



Hallway

 
Prod: 8202M1
Test: 8202M4
Repository:
 
OS:
 
Outputs:
 
 
 
 
January 14, 2019, 02:44 PM
Waz
quote:
-SET &WILDCARD = '%00';


Interesting,

No Issues with 8.1.04 or 8.2.04

I can only assume that the %00 is being decoded in the call.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

January 15, 2019, 09:41 AM
jgelona
One time we had WF crash because '-*' did not start in column 1.


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
January 15, 2019, 02:43 PM
Waz
quote:
One time we had WF crash because '-*'

That must have been a long time ago.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

January 16, 2019, 08:52 AM
jgelona
Waz, it was. Probably 5-6 years ago. We also had an instance where the agent would hang and start consuming all available memory on the Reporting Server when MODIFY did not generate a syntax error when a ON MATCH COMPUTE was missing the trailing ';'. IBI reproduced the error and fixed it. This was just 4 years ago. Sometimes it doesn't take much for WebFOCUS to lose its mind.


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
January 16, 2019, 03:14 PM
Waz
quote:
Sometimes it doesn't take much for WebFOCUS to lose its mind.


Hence Code Tightening (I hope)


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!