Re: chrt from git segfaults

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/07/25 12:42, Benno Schulenberg wrote:
> 
> Hello Vineeth,
> 
> Just in case you missed the bug report buried in the previous message:
> 
>> With current git, running `./chrt --other ls` says here:
>>
>>    Segmentatiefout (geheugendump gemaakt)
>>
>> Running valgrind on it gives:
>>
>>    ==38370== Invalid read of size 1
>>    ==38370==    by 0x10C6EB: main (chrt.c:574)
>>
>> Pointing to: if (strcmp(argv[0], "--") == 0)
> 
> My patch will prevent that case from occurring.  But if instead it
> should work, something needs fixing.

Could you spin off a patch to make sure the priority argument is
optional for policies that don’t need it, even when --pid is not used?

Thanks,
Madadi Vineeth Reddy

> 
> 
> Benno





[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux