Richard Hughes
c0bdb8dd7a
flashrom: Only set the BIOS size if not already quirked
2022-05-04 11:11:23 +01:00
Richard Hughes
5ac8594d92
flashrom: Use more ideomatic GLib style
2022-05-04 11:11:23 +01:00
Richard Hughes
539413ca51
parade-lspcon: Fix regression when probing PS175 devices
...
Fixes https://github.com/fwupd/fwupd/issues/4580
2022-05-02 22:19:38 +01:00
Richard Hughes
e97ee5922e
trivial: Fix win32 build by including native gettext
2022-05-02 12:36:28 +01:00
Richard Hughes
89238c15f5
Include libsqlite3-0.dll in the win32 installed
...
Fixes https://github.com/fwupd/fwupd/issues/4578
2022-05-02 12:36:28 +01:00
Richard Hughes
ff66aecf54
trivial: Fix -Wunused warning when compiling on Windows
2022-05-02 12:36:28 +01:00
Richard Hughes
f6c6e98786
trivial: Include header needed for GetLastError()
2022-05-02 12:36:28 +01:00
Richard Hughes
298377fab3
trivial: Restore 'fwupdmgr install http://...' behaviour
...
Fixes https://github.com/fwupd/fwupd/issues/4576
2022-04-29 12:31:31 -06:00
ChangHee (Ryan) Lee
310a513e35
ccgx: modify quirk for HP
2022-04-29 16:55:27 +01:00
Richard Hughes
2fcdf352df
Retry the device ioctl for EAGAIN
2022-04-29 15:01:32 +01:00
Richard Hughes
e803ed30f5
trivial: post release version bump
2022-04-28 15:59:12 +01:00
Richard Hughes
9bf8724bf4
Release fwupd 1.8.0
2022-04-28 15:38:26 +01:00
Richard Hughes
f81a3e671e
synaptics-mst: Read the fw-size in a more safe way
2022-04-28 14:20:13 +01:00
Richard Hughes
beb49d7ac0
trivial: Add fu_common_read_uint24() helper for future code
2022-04-28 14:18:30 +01:00
Richard Hughes
855ece352d
Check the alignment when reading in raw firmware
2022-04-28 14:15:49 +01:00
Richard Hughes
2b81290829
synaptics-prometheus: Add a sanity check to fix a fuzzing failure
...
Fixes https://oss-fuzz.com/testcase-detail/6232454836387840
2022-04-28 07:24:00 +01:00
Richard Hughes
3553336eff
trivial: Don't print a critical warning in fu_common_sum8_bytes()
...
If the size if zero, the buffer may be NULL.
Fixes: https://oss-fuzz.com/testcase-detail/5453386322935808
2022-04-28 07:24:00 +01:00
Richard Hughes
f5bbd744f5
wacom-usb: Fix a timeout when parsing very corrupt firmware
...
Fixes https://oss-fuzz.com/testcase-detail/5797345020739584
2022-04-28 07:24:00 +01:00
ChangHee (Ryan) Lee
89cfe97625
ccgx: Fix failure to replug
2022-04-27 12:03:16 +01:00
Richard Hughes
f3ec632492
trivial: Add some new helper API for future functionality
2022-04-26 14:30:28 +01:00
Mario Limonciello
f818404d81
trivial: debian: set up fwupd-refresh.service/fwupd-refresh.timer
...
Create a dedicated user account for these to use, and set the preset
to leave it as enabled by default.
Fixes: https://github.com/fwupd/fwupd/issues/3037
2022-04-25 14:06:04 -05:00
Mario Limonciello
5d22db02ec
trivial: Add a new configuration option systemd_unit_user
...
This option will control what user the fwupd-refresh.service unit
uses.
2022-04-25 14:06:04 -05:00
Mario Limonciello
0c9ac226c9
trivial: disable the preset for fwupd-refresh.timer as well
...
Until systemd fixes this issue we don't want the fwupd-refresh.timer
to be running unless a distro has disabled DynamicUser and made a
static user.
Fixes: https://github.com/fwupd/fwupd/issues/3037
2022-04-25 14:06:04 -05:00
Richard Hughes
debe9a51a3
Make the security policy reflect reality
2022-04-25 18:14:14 +01:00
Richard Hughes
31907e6863
Add a sanity check when trying to refresh a non-download remote
2022-04-25 15:47:20 +01:00
Richard Hughes
97b33f3472
Use a more suitable icon for USB hubs
2022-04-25 14:49:30 +01:00
Richard Hughes
b7bf0a7611
Do not fallback to audio-card
...
Let the frontend choose the most appropriate icon if unspecified.
2022-04-25 14:49:30 +01:00
PatriciaJonsson
0570829981
dfu: Add support for FlatFrog devices
2022-04-25 10:36:27 +01:00
Richard Hughes
c1d67be0a5
genesys: Fix a potential buffer overread spotted by Coverity
...
overrun-buffer-arg: Overrunning array buf of 64 bytes by passing it to
a function which accesses it at byte offset 65 using argument len + 3UL
2022-04-25 07:03:26 +01:00
Wei-Luan Wang
a87b2c901a
Install D-Bus introspection data even if introspection is disabled
...
According to the D-Bus API Design Guidelines, the D-Bus interface files
for public API should be installed so that other services can load them.
2022-04-24 18:39:29 +01:00
Richard Hughes
57af867fab
trivial: Fix example downstream spec file
2022-04-23 11:35:33 +01:00
Richard Hughes
492563d5f2
trivial: Ignore the return value of g_strlcpy() when safe
2022-04-23 10:30:50 +01:00
Richard Hughes
21529460ec
trivial: Ignore the return value of g_unlink() in the self tests
2022-04-23 10:28:16 +01:00
Richard Hughes
7eca2b2b16
Export the version_lowest_raw value correctly
2022-04-23 10:28:16 +01:00
Richard Hughes
4414866d38
genesys: Remove some dead code
2022-04-23 10:28:16 +01:00
Richard Hughes
45b1a0bbe3
modem-manager: Remove unused variable
2022-04-23 10:28:16 +01:00
Richard Hughes
d32bbb0084
genesys: Remove unused variable
2022-04-23 10:28:16 +01:00
Richard Hughes
c38be3aca6
corsair: Use correct format specifier in error message
2022-04-23 10:28:16 +01:00
Richard Hughes
b7bb9c35dd
ch341a: Remove unused variable
2022-04-23 10:28:16 +01:00
Richard Hughes
945bb32b35
trivial: Ignore GCC-specific pragmas when using clang
2022-04-23 10:28:16 +01:00
Richard Hughes
a1517e4875
dfu: Use the correct icon automatically for USB webcams
2022-04-23 08:56:58 +01:00
Mario Limonciello
b7b06df928
trivial: dell: ignore a false positve for stringop-overread
2022-04-23 08:27:34 +01:00
Richard Hughes
6f6f83ee46
trivial: Disable the safe directory feature for CI
2022-04-23 08:27:34 +01:00
Richard Hughes
4199c694b1
Fix a CI failure for any distro using git >= 2.35.3
2022-04-23 08:27:34 +01:00
Richard Hughes
ab0c750bb2
Only show the CLI time remaining for predictable status phases
...
Fixes https://github.com/fwupd/fwupd/issues/4540
2022-04-22 11:38:35 -05:00
Mario Limonciello
d599c90da0
trivial: allow manually running the container generation workflow
2022-04-22 08:34:12 -05:00
Richard Hughes
f7e006c491
trivial: Remove now-fixed workaround for runc
2022-04-22 11:58:05 +01:00
Richard Hughes
95022acffb
trivial: Fix Fedora CI
2022-04-22 11:58:05 +01:00
Sergii Dmytruk
e9f765dc47
plugins/flashrom/fu-flashrom-device.c: create layout on open
...
This avoids possible reading IFD multiple times and fixes a memory leak
of layout on errors and an unconditional leak in
fu_flashrom_device_prepare(), which didn't call
flashrom_layout_release().
Notice that flashrom_layout_set() call does NOT transfer ownership.
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2022-04-21 15:39:47 +01:00
Sergii Dmytruk
e1d708a4ff
plugins/flashrom: manage flashrom context at plugin level
...
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2022-04-21 15:39:47 +01:00