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:


#;2> (set! (current-user-id) "abracadabra")
#;3> (current-user-id)

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.

Change History (2)

comment:1 Changed 3 years ago by sjamaan

Milestone: someday5.3

Trivial enough to fix for 5.3.0

comment:2 Changed 3 years ago by evhan

Resolution: fixed
Status: newclosed

Fixed by 95ea81bd.

Note: See TracTickets for help on using tickets.