Repository navigation
Conversation
|
@hwoarang need a maintainer to approve running workflows |
|
@zx2c4 @rossburton @sfionov review please, thanks. |
|
@zx2c4 @rossburton @hwoarang @sfionov need review, thanks. |
|
@zx2c4 @rossburton @hwoarang @sfionov need review, thanks. |
|
I'm not a maintainer, so I can't approve workflows. However, that patch changes behaviour: if I pass |
Yes. you are right. I will fixed this problem. |
|
@ggvl FYI not approved workflow is not blocking this, lack of my time block it. iputils have practically no functional tests, thus I need to look carefully into the code (there have been many regressions in the past in ping). |
@rossburton IMHO last value is always used (in master, and after this change). Or do I miss something? |
|
An earlier revision ignored all but the first option, this is fixed now.
… On 14 Jun 2022, at 21:38, Petr Vorel ***@***.***> wrote:
However, that patch changes behaviour: if I pass -p twice then the second value is ignored. Conventionally, the second value will replace the first.
@rossburton IMHO last value is always used (in master, and after this change). Or do I miss something?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.
|
|
@ggvl LGTM, but let me have second look later. |
|
|
|
@ggvl Thinking it twice Could we merge just fixing the leak first:
|
|
@pevik Ok. Thanks for you advice.
Fine. I will separate it.
I read the fill() function and find it use isxdigit to check each byte in the readbuf, so the maxlen should be 32. |
If user use '-p' opt multi-times, the previous pointer generated by strdup function will be discarded. Signed-off-by: lvgenggeng <lvgenggeng@uniontech.com>
|
@pevik This on is ok and I will commit the second patch later. |
Agree, but it'd be worth to check why busybox implementation allows only 0..255 decimal value. |
If user use '-p' opt multi-times, the previous pointer generated by
strdup functiong will be discarded.
Signed-off-by: lvgenggeng lvgenggeng@uniontech.com