Log in

No account? Create an account
LiveJournal Development [entries|archive|friends|userinfo]
LiveJournal Development

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

May 19th, 2001

I suck. [May. 19th, 2001|01:35 pm]
LiveJournal Development


Sorry for wasting many people's time that would have otherwise been spent sleeping.

This fixes the infinite loop that was eating up CPU and memory and crashing machines when they ran out of swap.

I wasn't trusting user input here ... I already validated their opts at another place, but in this case $q->{'opts'} was NULL, which is mapped to "undef" by DBI, so from, to, and by were all zero in numeric context. I got paranoid though and added the $by > 0 and int($by) checks... all that should be necessary is unless ($by).

Patch Attached ...Collapse )
link15 comments|post comment

(no subject) [May. 19th, 2001|03:43 pm]
LiveJournal Development


was backdate documented anywhere? i cant find it in the protocol docs. brad?

im bored. :)
link7 comments|post comment

[ viewing | May 19th, 2001 ]
[ go | Previous Day|Next Day ]