[Info-vax] Interesting NFS bug...
JF Mezei
jfmezei.spamnot at vaxination.ca
Sun Dec 20 13:11:54 EST 2009
Redid another test.
While the first one had tagged on contents of an email, this time
around, it provided totally different content at the end of the file.
This would indicate to me that it is not reading "beyond the end of
file", but rather not zeroing a 512 byte buffer before writing fewer
than 512 bytes to it and then sending the full 512 bytes to the client.
> 000011a0 74 22 20 20 73 72 63 3d 22 2f 76 6d 73 2f 70 6f |t" src="/vms/po|
> 000011b0 77 65 72 65 64 62 79 32 2e 67 69 66 22 20 61 6c |weredby2.gif" al|
> 000011c0 74 3d 22 50 6f 77 65 72 65 64 20 62 79 20 56 4d |t="Powered by VM|
> 000011d0 53 22 3e 0a 3c 2f 74 64 3e 0a 3c 2f 74 72 3e 0a |S">.</td>.</tr>.|
> 000011e0 0a 0a 3c 74 72 3e 3c 74 64 3e 3c 70 3e 3c 2f 74 |..<tr><td><p></t|
> 000011f0 64 3e 3c 2f 74 72 3e 0a 0a 3c 2f 74 61 62 6c 65 |d></tr>..</table|
> 00001200 3e 0a 0a 3c 2f 62 6f 64 79 3e 0a 3c 2f 68 74 6d |>..</body>.</htm|
> 00001210 6c 3e 0a 6d 4d 69 4d 6e 6d 69 6e 6d 6d 6e 6d 6d |l>.mMiMnminmmnmm|
> 00001220 6d 69 6d 6d 6d 6d 6d 6d 6d 6e 6d 6d 6d 6d 6e 69 |mimmmmmmmnmmmmni|
> 00001230 6d 6d 49 69 4d 8d 6d 91 91 91 8d 6c 6d 6c 6c 6d |mmIiM.m....lmllm|
> 00001240 71 6d 6c 6d 6d 6c 4d 4c 68 6d 91 91 8d 4c 70 71 |qmlmmlMLhm...Lpq|
> 00001250 6d 6d 49 4d 69 49 4d 69 6d 69 6d 4d 69 6d 69 4d |mmIMiIMimimMimiM|
> 00001260 6d 6d 6d 6a 6d 6d 69 6d 6d 6d 69 6d 6d 69 6d 4d |mmmjmmimmmimmimM|
> 00001270 6e 6d 6d 6d 6e 69 6d 69 6d 6d 6e 6d 6d 6d 6d 6d |nmmmnimimmnmmmmm|
> 00001280 6e 6d 69 6d 69 49 6d 8d 8d 71 6c 91 91 91 6d 6d |nmimiIm..ql...mm|
> 00001290 6c 6c 71 6d 6d 4c 6c 6d 6d 6d 6c 6d 6d 6d 4c 6d |llqmmLlmmmlmmmLm|
> 000012a0 6c 49 49 6d 49 6d 69 6d 6d 49 6d 6d 6e 6d 6d 6e |lIImImimmImmnmmn|
> 000012b0 69 4d 69 6d 6d 4d 69 4d 69 6d 4d 69 4d 6d 69 6d |iMimmMiMimMiMmim|
> 000012c0 6d 69 4d 69 6d 6d 6d 6e 6d 6d 6d 6d 6e 6d 69 6d |miMimmmnmmmmnmim|
> 000012d0 69 6d 6d 49 6d 6d 49 69 71 91 8d 8d 91 91 8d 6c |immImmIiq......l|
> 000012e0 6d 4d 6c 6c 6d 6c 4d 4c 6d 6c 48 48 6d 4c 70 6d |mMllmlMLmlHHmLpm|
> 000012f0 4d 69 69 6d 49 6d 69 4d 69 4d 69 6d 6d 6d 49 6d |MiimImiMiMimmmIm|
> 00001300 69 6d 6d 4d 69 6d 69 6d 4d 69 6d 6d 69 4d 69 6e |immMimimMimmiMin|
> 00001310 6d 6d 69 6d 6d 6e 6d 6d 69 6d 6e 6d 6d 6d 6e 6d |mmimmnmmimnmmmnm|
> 00001320
And the plot thickens:
A couple minutes later:
> 00001160 22 20 0a 09 61 6c 74 3d 22 41 6c 70 68 61 20 50 |" ..alt="Alpha P|
> 00001170 6f 77 65 72 65 64 22 3e 0a 3c 2f 74 64 3e 0a 3c |owered">.</td>.<|
> 00001180 74 64 20 77 69 64 74 68 3d 22 32 30 25 22 3e 0a |td width="20%">.|
> 00001190 3c 69 6d 67 20 61 6c 69 67 6e 3d 22 72 69 67 68 |<img align="righ|
> 000011a0 74 22 20 20 73 72 63 3d 22 2f 76 6d 73 2f 70 6f |t" src="/vms/po|
> 000011b0 77 65 72 65 64 62 79 32 2e 67 69 66 22 20 61 6c |weredby2.gif" al|
> 000011c0 74 3d 22 50 6f 77 65 72 65 64 20 62 79 20 56 4d |t="Powered by VM|
> 000011d0 53 22 3e 0a 3c 2f 74 64 3e 0a 3c 2f 74 72 3e 0a |S">.</td>.</tr>.|
> 000011e0 0a 0a 3c 74 72 3e 3c 74 64 3e 3c 70 3e 3c 2f 74 |..<tr><td><p></t|
> 000011f0 64 3e 3c 2f 74 72 3e 0a 0a 3c 2f 74 61 62 6c 65 |d></tr>..</table|
> 00001200 3e 0a 0a 3c 2f 62 6f 64 79 3e 0a 3c 2f 68 74 6d |>..</body>.</htm|
> 00001210 6c 3e 0a |l>.|
> 00001213
Which means that it finally terminated the file properly. Interesting.
And the plot thickens even more...
Redoing the same test now brings back the same pattern as the first one
in this message beyond the end of file.
More information about the Info-vax
mailing list