The fun of length-declared strings

2006-11-16 17:26:54 -08:00

Leak: 0x3cf9d1e0  size=160	string 'h>10:47<br /></span>Tuesday, November 7, 2006<br /><br /><br /><br /><br /><br /><br /><br /><span style='

Searching the log of LMXTestApp parsing the log file: No occurrences of “h>”.

Searching the log file itself: No occurrences of “h>”.

*scratches head*

[Light bulb]
Idea!

python                               %~/Projects/@otherpeoplesprojects/adium(0)
>>> len('>10:47<br /></span>Tuesday, November 7, 2006<br /><br /><br /><br /><br /><br /><br /><br /><span style=')
104
>>> ord('h')
104

Aha!

The light-bulb image above is a cropped and scaled version of this photo, which is under a Creative Commons Attribution Non-Commercial 2.0 license.

Leave a Reply

Do not delete the second sentence.