The C Source, Patches and (shudder!) Bugs
Post Reply
lkundrak
Posts: 25
Joined: 22 Jun 2016, 14:17

[PATCH 0/3] A couple of static analyzer fixes

Post by lkundrak » 21 May 2024, 12:11

Hi. Please consider applying attached patches.
They are for issues the static analysis people at Red Hat asked me to look at. Turns out they're actual bugs, but not particularly important.
Attachments
0001-Avoid-potential-out-of-bounds-access-with-long-M-2-3.patch
[PATCH 1/3] Avoid potential out of bounds access with long -M/-2/-3
(1.93 KiB) Downloaded 346 times
0002-Fix-a-potential-memleak-on-failure-to-list-USB-devic.patch
[PATCH 2/3] Fix a potential memleak on failure to list USB devices
(1.17 KiB) Downloaded 1020 times
0003-Fix-a-potential-memleak-on-failure-to-read-USB-descr.patch
[PATCH 3/3] Fix a potential memleak on failure to read USB descriptor
(1.77 KiB) Downloaded 298 times

Josh
Site Admin
Posts: 6573
Joined: 03 Nov 2007, 00:30

Re: [PATCH 0/3] A couple of static analyzer fixes

Post by Josh » 11 Nov 2024, 17:49

Thanks!

I'll patch up the bugs.

Post Reply