Closed alejandro-colomar closed 5 months ago
v1b changes:
$ git range-diff shadow/master gh/gd gd
1: c3f35090 ! 1: d53bc201 lib/getdate.y: get_date(): Fix calculation
@@ Commit message
Reported-by: Michael Vetter <jubalh@iodoru.org>
Reported-by: Gus Kenion <https://github.com/kenion>
Cc: Iker Pedrosa <ipedrosa@redhat.com>
+ Cc: Serge Hallyn <serge@hallyn.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
## lib/getdate.y ##
Thanks for taking care of that @alejandro-colomar ! The test looks good, I also don't have experience with yacc unfortunately though.
BTW, in the test above:
Enter the new password (minimum of 5 characters)
Please use a combination of upper and lower case letters and numbers.
New password:
Re-enter new password:
passwd: password changed.
This is funny, and nothing transcendental, but I entered 000
, so that (minimum of %d characters)
should be revised.
Sorry, took me awhile ... but it looks correct, thanks.
Hi Serge,
On Fri, Feb 16, 2024 at 05:58:49PM -0800, Serge Hallyn wrote:
Sorry, took me awhile ...
No problem! :)
but it looks correct, thanks.
Thanks!
Have a lovely night, Alex
-- https://www.alejandro-colomar.es/ Looking for a remote C programming job at the moment.
Instead of adding 1, we should add the value the we stored previously in the variable.
Fixes: 45c6603cc86c ("[svn-upgrade] Integrating new upstream version, shadow (19990709)") Closes: https://github.com/shadow-maint/shadow/issues/939 Link: https://github.com/shadow-maint/shadow/pull/942 Reported-by: @jubalh Reported-by: @kenion Cc: @ikerexxe
And here goes my first patch to a YACC file. Please be very skeptic. Disclaimer: this comes with no warrany, neither expressed nor implied. :)
Here goes some test:
Does it break anything else? Good question. I don't have an answer. :)