[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
#1787: current-user-id setter from (chicken process-context posix) maybe
From: |
Chicken Trac |
Subject: |
#1787: current-user-id setter from (chicken process-context posix) maybe needs some argument validation |
Date: |
Fri, 24 Sep 2021 04:59:37 -0000 |
#1787: current-user-id setter from (chicken process-context posix) maybe needs
some argument validation
--------------------------------------------+----------------------------
Reporter: Christopher Brannon | Type: defect
Status: new | Priority: minor
Milestone: someday | Component: core libraries
Version: 5.2.0 | Keywords:
Estimated difficulty: |
--------------------------------------------+----------------------------
{{{
#;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.
--
Ticket URL: <https://bugs.call-cc.org/ticket/1787>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.
- #1787: current-user-id setter from (chicken process-context posix) maybe needs some argument validation,
Chicken Trac <=