Opened 3 years ago
Closed 3 years ago
#1787 closed defect (fixed)
current-user-id setter from (chicken process-context posix) maybe needs some argument validation
Reported by: | Christopher Brannon | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 5.3 |
Component: | core libraries | Version: | 5.2.0 |
Keywords: | Cc: | ||
Estimated difficulty: |
Description
#;2> (set! (current-user-id) "abracadabra") #;3> (current-user-id) 2245824928
This should fail with an error rather than setting the uid to a bogus value.
Maybe the current-user-id setter could be made to take a string and do a
uid lookup, but that's a discussion for another day.
Note: See
TracTickets for help on using
tickets.
Trivial enough to fix for 5.3.0