Menu

#324 crash on some combination with --sep-column

New
nobody
None
High
Defect
2020-10-28
2020-10-21
No

Under some circumstances, "yad --list" craches when "--sep-column" is used. The problems gone after adding check for NULL (see the patch).

Test case:

yad --list --column=a --column=b --sep-value=@ --sep-column=2 foo

(ie. any odd (for this case) number of parameters causes the second value of last row to be empty, which triggers the crash).

1 Attachments

Related

Tickets: #324

Discussion

  • Victor Ananjevsky

    can you make a pull requests on github instead of using sourceforge which is obsolete long time for yad development?

    В Wed, 21 Oct 2020 17:25:28 -0000
    "Dmitry Butskoy" buc@users.sourceforge.net пишет:


    [tickets:#324] crash on some combination with --sep-column

    Status: New
    Created: Wed Oct 21, 2020 05:25 PM UTC by Dmitry Butskoy
    Last Updated: Wed Oct 21, 2020 05:25 PM UTC
    Owner: nobody
    Attachments:

    -
    yad-7.2-sep-column.patch
    (447 Bytes; text/x-patch)

    Under some circumstances, "yad --list" craches when "--sep-column" is used. The
    problems gone after adding check for NULL (see the patch).

    Test case:
    yad --list --column=a --column=b --sep-value=@ --sep-column=2 foo
    (ie. any odd (for this case) number of parameters causes the second value of last
    row to be empty, which triggers the crash).


    Sent from sourceforge.net because you indicated interest in
    https://sourceforge.net/p/yad-dialog/tickets/324/

    To unsubscribe from further messages, please visit
    https://sourceforge.net/auth/subscriptions/

    --
    wbr
    Victor Ananjevsky ananasik@gmail.com

     

    Related

    Tickets: #324

  • Dmitry Butskoy

    Dmitry Butskoy - 2020-10-22

    I've found a commit on github for this (a year ago), but seems not applied yet...
    6f3f128

     
  • Victor Ananjevsky

    fixed, thanks

     

Log in to post a comment.