Closed Bug 473 Opened 26 years ago Closed 26 years ago

Bogus "Out Of Memory" error on mail send when no NIS passwds

Categories

(MozillaClassic Graveyard :: XFE, defect, P3)

1998-04-29
x86
Linux

Tracking

(Not tracked)

VERIFIED WONTFIX

People

(Reporter: jmb, Assigned: mcafee)

Details

Created by James Beckett (jmb@ctxuk.citrix.com) on Tuesday, July 7, 1998 8:34:10 AM PDT Additional Details : System: RedHat Linux 5.0 (libc6) with libc5 shlibs for alleged compatibility. NIS passwords used. Netscape release 4.05, linked against libc5. Netscape refuses to send mail, claiming ".. is out of memory; close some applications blah blah blah". cmd/xfe/dialogs.c: fe_DefaultUserInfo() is calling getpwuid(geteuid) which is giving NULL, as libc5 does not support NIS (only local passwd entries are returned). cmd/xfe/xfe.c: FE_UsersRealMailAddress() is caching "" as the user's mail address (eg should be "jmb") lib/libnet/mksmtp.c: net_smtp_send_data_response(...) is passing (real_name == "") to MSG_MakeFullAddress() which returns NULL, and the next lines dislikes this and return with MK_OUT_OF_MEMORY set in CE_URL_S. Yes, I have found a version (RPM) linked against libc6 now, but the error message is definitely wrong for the circumstance. And it wasn't easy, when the messenger source hasn't been released yet - ie I couldn't build a debug version, I've been grovelling in the disassembly with gdb... Enjoy.
Status: NEW → RESOLVED
Closed: 26 years ago
Component: Platform: Rhapsody → XFE
Resolution: --- → WONTFIX
This is a 4.05 bug! This is the 5.0 list! We have no Mail! marking won't fix.
Status: RESOLVED → VERIFIED
Old bug..check out the lastest at www.mozilla.org! Marking bug Verified/Won't Fix.
You need to log in before you can comment on or make changes to this bug.