Richard Hughes
39148003a7
trivial: Add a Option ROM fuzzer to use with afl
2016-11-22 14:46:57 +00:00
Richard Hughes
467fdba7ce
trivial: Never dump past the ROM size for corrupt option ROMs
2016-11-22 14:36:12 +00:00
Richard Hughes
f33d2c0d64
trivial: Use the entry point to detect NVIDIA ROMs
2016-11-22 14:36:12 +00:00
Richard Hughes
0023912e1c
trivial: Be more helpful when failing to detect the firmware kind
2016-11-22 14:36:12 +00:00
Richard Hughes
fb049f75b7
trivial: Make the NULL padding detection safer
2016-11-22 14:36:12 +00:00
Richard Hughes
87764f0cc1
trivial: Refactor to create fu_rom_load_data()
2016-11-22 13:41:16 +00:00
Richard Hughes
0e77c525dd
trivial: Fix the last commit to actually compile
2016-11-22 08:30:30 +00:00
Tsunghan Liu (Robert Liu)
a02bbb1c4e
* close USB devices before error returns ( #73 )
2016-11-21 09:12:28 -06:00
Richard Hughes
102ddb8fda
trivial: Remove some code that cannot be reached
...
Found using Coverity.
2016-11-09 20:14:15 +00:00
Richard Hughes
f3b1bc6c0c
trivial: Check the return code when using g_file_get_contents()
...
Not actually a bug, but pointed out by Coverity.
2016-11-09 20:14:15 +00:00
Richard Hughes
c8c2d60d65
trivial: Fix error check when parsing Neo Freerunner descriptor
...
Found using Coverity.
2016-11-09 20:14:15 +00:00
Richard Hughes
dfb30d930a
trivial: Fix a typo when matching device VID:PIDs
...
Found using Coverity.
2016-11-09 19:35:23 +00:00
Richard Hughes
8072bb6fb7
trivial: Fix pointless header check
...
It can never be NULL. Found using Coverity.
2016-11-09 19:33:47 +00:00
Richard Hughes
710bf295b2
trivial: Fix two missing break statements
...
Found using Coverity.
2016-11-09 19:32:26 +00:00
Richard Hughes
e686719e38
dell: Fix a possibly-impossible-to-hit buffer overrun
...
Found using Coverity.
2016-11-09 19:30:37 +00:00
Richard Hughes
dd7713d27d
trivial: Fix a tiny resource leak if the signature file cannot be opened
...
Found using Coverity.
2016-11-09 19:28:38 +00:00
Richard Hughes
4417c062fe
dell: Don't return the address of a stack variable
...
Found using Coverity.
2016-11-09 19:27:08 +00:00
Richard Hughes
fec2480330
trivial: Fix a critical warning on shutdown
2016-11-04 09:30:14 +00:00
Richard Hughes
b28daac301
libdfu: Use a heuristic for the start address if the firmware has no DfuSe footer
...
This fixes flashing into the 96Boards BLE Carbon.
2016-11-03 15:11:25 +00:00
Richard Hughes
bfef02dc43
trivial: Sync the example spec file with downstream
2016-10-31 08:40:23 +00:00
Mario Limonciello
155f054dff
trivial: re-enable dell tpm mode switching for system ID 07a4
2016-10-27 13:09:46 -05:00
Mario Limonciello
11dee100af
Clarify the test in --help and man page related to offline ( #69 )
2016-10-19 15:56:48 -05:00
Richard Hughes
0d7c113ea3
Merge pull request #72 from dell/ac-warning
...
Show a different error when checking for updates while on battery power
2016-10-19 20:41:02 +01:00
Mario Limonciello
54a5a21757
Show a different error when checking for updates while on battery power ( #68 )
2016-10-19 14:29:53 -05:00
Richard Hughes
1e8a7bcbd5
trivial: post release version bump
2016-10-19 15:12:06 +01:00
Richard Hughes
219f675053
Release fwupd 0.7.5
2016-10-19 15:08:32 +01:00
Richard Hughes
ae7935448b
libdfu: Correctly set the element address when uploading from DfuSe devices
2016-10-16 08:26:01 +01:00
Richard Hughes
6c17d2ed43
trivial: Fix an error path when the interface cannot be claimed
2016-10-16 08:26:01 +01:00
Mario Limonciello
a91214f545
Enable hardening flags on more binaries
2016-10-14 12:43:02 -05:00
Richard Hughes
bd81a89044
libdfu: Correctly erase DfuSe devices
2016-10-14 18:07:34 +01:00
Richard Hughes
21806b4696
libdfu: Wait for DNBUSY to be cleared when checking the DfuSe status
2016-10-14 18:07:34 +01:00
Richard Hughes
9e172a0b1f
trivial: Raise the default timeout for DFU operations
...
Not all devices are fast, and the ST bootloader takes a long time to return
from erase.
2016-10-14 18:07:34 +01:00
Richard Hughes
503f057d3e
libdfu: Add dfu_sector_get_zone() to get the continuous memory zone number
2016-10-14 18:07:34 +01:00
Richard Hughes
8e480bff54
trivial: Show the caps as letters when listing sectors as a string
2016-10-14 18:07:34 +01:00
Richard Hughes
79d2b93771
Add a 'replace-data' command to dfu-tool
...
This allows us to search-and-replace data in a firmware file that may be
protected with a checksum or CRC.
2016-10-14 18:07:34 +01:00
Richard Hughes
0e7877b831
trivial: Fix self tests after fixing sector addresses
2016-10-14 18:07:34 +01:00
Richard Hughes
35bea355b2
libdfu: Match the device booloader or runtime VID and PID when checking firmware
2016-10-14 18:07:34 +01:00
Richard Hughes
73b3bc59ac
trivial: fake DFU runtime devices need a manual step
2016-10-14 18:07:34 +01:00
Richard Hughes
91685ce43b
libdfu: Add quirks for HydraBus as it does not have a DFU runtime
2016-10-14 18:07:34 +01:00
Richard Hughes
8e2e46e60b
libdfu: Re-get the quirks when the DfuDevice gets a new GUsbDevice
2016-10-14 18:07:34 +01:00
Richard Hughes
1ff658dbb2
libdfu: Ensure the mode is set correctly when faking a runtime
2016-10-14 18:07:34 +01:00
Richard Hughes
bacf255428
libdfu: Ensure the device is open before claiming the interface
2016-10-14 18:07:34 +01:00
Richard Hughes
a5c48ce07f
libdfu: Fix verification of written DfuSe firmware
...
DfuSe doesn't stop returning data when the image is empty. Take as least as
much data as we require and then truncate the result to what we want.
2016-10-14 18:07:34 +01:00
Richard Hughes
73b63c87e8
libdfu: Do not do a zero-byte download when in DfuSe mode
...
For ST devices this means 'boot into APP mode' which we can also now populate.
2016-10-14 18:07:34 +01:00
Richard Hughes
8a3c18b4a3
libdfu: Use an animated progress bar when performing DFU operations
2016-10-14 18:07:34 +01:00
Richard Hughes
99f61c827a
libdfu: Add DfuAction enumerated value to represent a device action
...
This is a high level operation which is supposed to correlate with the
percentage change notification. Using the device DfuState or DfuStatus doesn't
work when doing dfuse operations.
2016-10-13 19:43:20 +01:00
Richard Hughes
9117686b4c
libdfu: Use the device offset when writing DfuSe firmware
2016-10-12 21:33:30 +01:00
Richard Hughes
cbdeca25e2
libdfu: Fix uploading from DfuSe devices
2016-10-12 20:36:27 +01:00
Richard Hughes
fa522907e9
libdfu: Do not do GetStatus on dfuse upload
2016-10-12 20:30:36 +01:00
Richard Hughes
5e40ae8778
libdfu: Correctly offset addresses when one zone has multiple sectors
2016-10-12 20:29:08 +01:00