ALT Linux Bugzilla
– Attachment 5794 Details for
Bug 28737
Использует убранный из libmysqlclient18 символ make_scrambled_password_323
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
fedora's patch
mod_auth_mysql_make_scrambled_password.patch (text/plain), 918 bytes, created by
Michael Shigorin
on 2013-04-02 15:01:38 MSK
(
hide
)
Description:
fedora's patch
Filename:
MIME Type:
Creator:
Michael Shigorin
Created:
2013-04-02 15:01:38 MSK
Size:
918 bytes
patch
obsolete
>--- mod_auth_mysql-3.0.0/mod_auth_mysql.c.scrambled 2011-06-08 22:52:09.123339737 +0200 >+++ mod_auth_mysql-3.0.0/mod_auth_mysql.c 2011-06-08 22:54:22.793714558 +0200 >@@ -808,12 +808,9 @@ > /* Checks scrambled passwords */ > static short pw_scrambled(POOL * pool, const char * real_pw, const char * sent_pw, const char * salt) { > char * encrypted_sent_pw = PCALLOC(pool, SCRAMBLED_PASSWORD_CHAR_LENGTH+1); >-#ifdef SCRAMBLED_PASSWORD_CHAR_LENGTH_323 /* If we may need to use old password */ >- if (real_pw[0] != '*') >- make_scrambled_password_323(encrypted_sent_pw, sent_pw); >- else >-#endif >- make_scrambled_password(encrypted_sent_pw, sent_pw); >+ void my_make_scrambled_password(char *to, const char *password, >+ size_t pass_len); >+ my_make_scrambled_password(encrypted_sent_pw, sent_pw, strlen(sent_pw)); > return strcmp(real_pw, encrypted_sent_pw) == 0; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 28737
: 5794