bugText Extractor TXR - Bugs: bug #34813, Type exception in a particular...

 
 

bug #34813: Type exception in a particular situation involving @(freeform).

Submitted by:  Kaz Kylheku <kkylheku>
Submitted on:  Sun 13 Nov 2011 02:04:10 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: CorrectnessStatus: Fixed
Privacy: PublicAssigned to: Kaz Kylheku <kkylheku>
Originator Name: Open/Closed: Closed
Component Version: NoneOperating System: None
Fixed Release: NonePlanned Release: None
Architecture: AllABI: All

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 13 Nov 2011 05:48:29 PM UTC, comment #1:

The problem is that v_freeform attempts to operate on null data. This will turn into an empty line which works fine (false positive), but then the successful return logic assumes that there is a valid data line number which can be incremented.

Fixed by bailing out if data is null.

Kaz Kylheku <kkylheku>
Project AdministratorIn charge of this item.
Sun 13 Nov 2011 02:04:10 AM UTC, original submission:

The following happens due to empty input:

Kaz Kylheku <kkylheku>
Project AdministratorIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by kkylheku (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 13 Nov 2011 05:48:29 PM UTCkkylhekuStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1