[DragonFlyBSD - Submit #2895] (New) atrun fails to read uid from the job file

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Thu Mar 17 03:03:13 PDT 2016


Issue #2895 has been reported by peeter.

----------------------------------------
Submit #2895: atrun fails to read uid from the job file
http://bugs.dragonflybsd.org/issues/2895

* Author: peeter
* Status: New
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
----------------------------------------
atrun uses fscanf to read uid and gid from the job file. The format fmt has %ld for both uid and gid, but their types are actually uid_t and gid_t, which are, in the end, unsigned int. So changing %ld to %u makes fscanf correctly read and assign uid and gid. 

---Files--------------------------------
0001-Change-the-format-for-fscanf-so-atrun-correctly-read.patch (883 Bytes)


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Submit mailing list