Thread View: news.software.nntp
1 messages
1 total messages
Started by Alex Birj
Tue, 19 Mar 2002 04:45
Handling current buggy yEnc implementations (note to developers)
Author: Alex Birj
Date: Tue, 19 Mar 2002 04:45
Date: Tue, 19 Mar 2002 04:45
76 lines
5328 bytes
5328 bytes
I chose to keep all yenc issues open, this is intended to all people implementing yenc to get code working in practical terms . It means that even given current buggy poster implementations we still are able not to give up on crc checks and involve user in the process (we are lucky that it isn't worse). Forcing code to verify crc sums in both multipart and single-part format (at least to set it default) - will prevent further buggy posting code, so errors will be detected by all clients within the testing stage. Below is the message I sent to yenc email list: --------------------------------------------------------------------------------------------------------------------------- I've just downloaded power post from www.cosmicwolf.com and tried it to see whether they fixed the bug. To find out it is not a coincedence (lol), I reposted it myself. The program is very widely used. Given all that I would recommend to let go files with crc=0x00000001 but not other sums since this program always generates files with this value, it is pretty good workaround - the probability of such crc is negligible. The release is dated 19 Jan 2002. I understand it is a bit silly but if we look from the user prospective - it is not at all. Another recommendation is not to check the line length and if it is incorrect - let it go since we have another buggy program in use, but its impact is somewhat and we only lose here bandwidth in the case of a truly corrupted attachment. So the current practical approach should be quite simple: 1. Ignore line length. 2. Ignore crc field for 1-part if it is value is 0x0000001 If you have information about such buggy output of different kind (I guess it only can be another, or even worse - wrong value in the crc field for one-part attachments) - please share it with us, but I hope these are all problems we have by now. Thanks, Alex Power post: >=ybegin line=128 size=525 name=POWRPOST.INI >�}��������74xx~z�z���g[[c74}�� >>��g`[XcX[]ZX[^[74v����gZ74���g��������74z���g��������74w��v����g_ZZZ74w�>�ul�����g]_Z74�o��w���g[ >74rv�v���g[74}���y�k��g[74}��~���gZ74}����g[74k���|����g[74k���}���z������>�g[74�x�k���� >�r�����gZ74�}�� ��n���gZ74r�p���gz����Wz >�����j�����W����X���74r�p���x���gz����Wz���J\ZZZ74r�|����~�g74r�y>��g74r�p�������g74v���n��god�n��������J���J}��������k���������� >���n���������������74v���~����gRii�J�N[YN\�JWJNp74����m�����g\bcd^\d[`bd[>c_74}����~���gZdZdZ74q��v���}���g[74q��v����ZZZZg���X�� >������X����74 >=yend size=525 crc32=00000001 Correct value (what is in pcrc32 should be in crc32 of the previous post): >=ybegin part=1 line=128 size=525 name=POWRPOST.INI >=ypart begin=1 end=525 >�}��������74xx~z�z���g[[c74}�� >>��g`[XcX[]ZX[^[74v����gZ74���g��������74z���g��������74w��v����g_ZZZ74w�>�ul�����g]_Z74�o��w���g[ >74rv�v���g[74}���y�k��g[74}��~���gZ74}����g[74k���|����g[74k���}���z������>�g[74�x�k���� >�r�����gZ74�}�� ��n���gZ74r�p���gz����Wz >�����j�����W����X���74r�p���x���gz����Wz���J\ZZZ74r�|����~�g74r�y>��g74r�p�������g74v���n��god�n��������J���J}��������k���������� >���n���������������74v���~����gRii�J�N[YN\�JWJNp74����m�����g\bcd^\d[`bd[>c_74}����~���gZdZdZ74q��v���}���g[74q��v����ZZZZg���X�� >������X����74 >=yend size=525 part=1 pcrc32=a9f9a88b
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads