cptaffe / plan9front

Automatically exported from code.google.com/p/plan9front
0 stars 0 forks source link

mothra: nil pointer dereference in libpanel when trying to handle a large form on namecheap.com #182

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
BurnZeZ has reported a crash in mothra when visiting namecheap.com and 
attempting to use their domain name search.

the homepage at http://namecheap.com/ has a gigantic form served courtesy of 
aspx.net software, and mothra crashes while attempting to handle this mess, due 
to an unchecked nil pointer in libpanel.

i'm on 9front f850d63bfe9a+ tip. 

attached is a snapfs image of mothra and the backtrace.

this patch will stop mothra from crashing, by using the return value of 
plelen() as an indicator that the form field's Textwin* is nil.

http://p.intma.in/pastes/2013-08-09T04:12:29

Original issue reported on code.google.com by mischief@offblast.org on 9 Aug 2013 at 8:31

Attachments:

GoogleCodeExporter commented 9 years ago
problem addressed in r2ad84f1efd50, 500 error addressed in r6d66b572ab59. still 
doesnt work because it loads results in background with javascript.

Original comment by cinap_le...@felloff.net on 9 Aug 2013 at 2:37