http://bugzilla.novell.com/show_bug.cgi?id=590286

http://bugzilla.novell.com/show_bug.cgi?id=590286#c0


           Summary: GdipMeasureString & GdipDrawString seg-fault if string
                    length isn't specified
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: libgdiplus
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/533.3
(KHTML, like Gecko) Chrome/5.0.360.0 Safari/533.3

Passing -1 (to indicate null terminated string) for the string lengths for
GdipDrawString and GdipMeasureString causes the program to seg-fault.

Reproducible: Always

Steps to Reproduce:
Compile the attached file test-len.c and run it like so:

/program input.jpg output.jpg
Actual Results:  
Segmentation Fault

Expected Results:  
output.jpg should be annotated with the text "Hello Mono" in the upper left
hand corner of the image.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to