mIRC Home    About    Download    Register    News    Help

Print Thread
#45243 30/08/03 12:50 PM
Joined: Dec 2002
Posts: 349
S
Skip Offline OP
Fjord artisan
OP Offline
Fjord artisan
S
Joined: Dec 2002
Posts: 349
Ok, so not a bug per se, but I was surprised at the ease in which $decompress could be confused, resulting in mirc freezing indefinatly (and on one occasion bluescreening after end-tasking it):

Code:
//bset &test 1 120 156 11 201 72 | echo -a $decompress(&test,b)


(YMMV in reproducing the freeze, I only had to play around for a few minutes though)

Those characters themselves were just a string of gobbldeygook I pulled from a few compressed lines of "The Quick Brown Fox Jumps Over The Lazy Dog", I can't claim to understand why the freeze occurs or how to properly produce it.

I feel this impedes the use of decompress/compress for 'over the line' style tasks (link compression, on-the-fly dcc zipping etc.) where trust cannot be fully established. I hope this can be fixed as I feel this is one of the best features in the new mIRC.

#45244 30/08/03 04:08 PM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
Yeah, that seems to be a big problem. There should be some sort of integrity check. If the data is invalid, return $null immediately.


Link Copied to Clipboard