Commit Graph
1 Commits
Author SHA1 Message Date
Jose Fernandez f32e415aea libgamestream: fix uniqueid.dat read check
fread(unique_id, UNIQUEID_CHARS, 1, fd) returns the number of items
read (1 on success), not bytes, so the != UNIQUEID_CHARS comparison is
always true. Any existing uniqueid.dat is silently ignored and
rewritten with the default 0123456789ABCDEF on every run, making a
custom per-device uniqueid impossible.
2026-06-05 22:28:35 -05:00