From: Aleksey Novodvorsky <aen@altlinux.ru> To: devel@altlinux.ru Subject: [devel] [Fwd: [sisyphus] nss ldap bug ( или злой я сегодня)] Date: Wed, 03 Apr 2002 12:08:01 +0400 Message-ID: <3CAAB861.854F634@altlinux.ru> (raw) [-- Attachment #1: Type: text/plain, Size: 1 bytes --] [-- Attachment #2: Type: message/rfc822, Size: 4191 bytes --] [-- Attachment #2.1.1.1: Type: text/plain, Size: 829 bytes --] Приветсвую всех! В nss_ldap-172-alt4 обнаружился препротивнейший баг. Сегодня полдня потратил на изыскания почему это у меня ls -l стал завершаться с Segmentation fault. Выяснилось, что в nss_ldap кто-то нехороший не проверил в одном месте указатель на NULL. В итоге, если LDAP-сервер по какой-то причине недоступен, то все команды пытающиеся получить скажем имя пользователя по его uid круто обламываются. Патч приложен. (В pam_ldap-125-alt1 тоже прячется злобный SegFault, но на его исправление сегодня уже не хватило времени. Патчик будет, видимо, завтра) -- Best Regards! | Когда вам платят за работу, надо по крайней мере Alexey Voinov | делать вид, что вы работаете... | Б.Виан "Осень в Пекине" voins@voins.program.ru voins@online.ru vns@altlinux.ru [-- Attachment #2.1.1.2: nss_ldap-patch.patch --] [-- Type: text/plain, Size: 410 bytes --] diff -Naurk.orig nss_ldap-172/ldap-nss.c.orig nss_ldap-172/ldap-nss.c --- nss_ldap-172/ldap-nss.c.orig Thu Aug 30 07:34:27 2001 +++ nss_ldap-172/ldap-nss.c Tue Apr 2 14:26:48 2002 @@ -824,7 +824,7 @@ #ifdef HAVE_LDAP_INITIALIZE } #endif - if (__session.ls_conn != NULL || cfg->ldc_next == cfg) + if (__session.ls_conn != NULL || cfg->ldc_next == cfg || cfg->ldc_next == NULL) { break; } [-- Attachment #2.1.2: Type: application/pgp-signature, Size: 232 bytes --]
next reply other threads:[~2002-04-03 8:08 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-04-03 8:08 Aleksey Novodvorsky [this message] 2002-04-03 12:42 ` Volkov Serge 2002-04-03 15:42 ` Alexey Voinov 2002-04-04 15:55 ` Update: " Volkov Serge
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=3CAAB861.854F634@altlinux.ru \ --to=aen@altlinux.ru \ --cc=devel@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git