Re: [pciutils] NULL-pointer dereferenciations in setpci.c

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

 



Hello!

> I stumbled over segfaults in setpci when trying to set PCI-registers.
> The specific call was
> 
>   setpci -v -d : latency_timer=b0
> 
> The parse_op() function derefences a pointer, which is returned by
> parse_x32() which could be NULL, twice (first time when trying to check,
> wheter it's NULL... just an '*' too much ;)
> 
> I reported this bug to the author as supposed in README, but since
> nothing happened in .git and I didn't get a reply, I'm trying here
> again.

Sorry, I am not that fast all the time...

Applied, thanks.

				Have a nice fortnight
-- 
Martin `MJ' Mares                          <mj@xxxxxx>   http://mj.ucw.cz/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
A: No.   Q: Should I include quotations after my reply?
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux