NCP Server: Segmentation fault in strcpy( ) called by GetFullPathForSamba( )

  • 7012069
  • 03-Apr-2013
  • 13-Feb-2015


Novell Open Enterprise Server 11 (OES 11) Linux
Novell Open Enterprise Server 11 (OES 11) Linux Support Pack 1

Novell Open Enterprise Server 2 (OES 2) Linux Support Pack 3


While accessing files on OES servers using the Novell CIFS protocol, a "Segmentation fault in strcpy( ) called by GetFullPathForSamba( )" can be observed with a stack trace similar to the output below.

Core was generated by `//opt/novell/eDirectory/sbin/ndsd'.
Program terminated with signal 11, Segmentation fault.
#0  0x00002b7030f5e190 in strcpy () from  /data/cores/lib64/
#0  0x00002b7030f5e190 in strcpy () from /data/cores/lib64/
#1  0x00002aaaaac985e8 in GetFullPathForSamba(char*, CacheEntry*) () from /data/cores/opt/novell/eDirectory/lib64/nds-modules/
#2  0x00002aaaaac9f439 in GetSambaShareModeLock(CacheEntry*, int, int) () from /data/cores/opt/novell/eDirectory/lib64/nds-modules/
#3  0x00002aaaaacaa8b5 in LockDirCacheEntry(int, int, int, unsigned int, int, unsigned char*, int, LockEntryInfo*) () from /data/cores/opt/novell/eDirectory/lib64/nds-modules/
#4  0x00002aaaaacbabf6 in CreateOrOpenFile(unsigned int, int, int, unsigned int, char*, int, int, int, int, int, int, int, int*, unsigned int*, unsigned
int*, pseudo_netware_direntry*, CacheEntryInfo*) ()   from  /data/cores/opt/novell/eDirectory/lib64/nds-modules/
#5  0x00002aaaaacc95ff in Case89(unsigned int, int, svc_request*, int) () from /data/cores/opt/novell/eDirectory/lib64/nds-modules/
#6  0x00002aaaaacdc4ee in ExecuteNCPPacket(unsigned int, svc_request*, int) () from  /data/cores/opt/novell/eDirectory/lib64/nds-modules/
#7  0x00002aaaaacb114d in INCP::HandleNCPFileServiceRequest() ()   from  /data/cores/opt/novell/eDirectory/lib64/nds-modules/
#8  0x00002aaaaacb267d in INCP::Process(int, void (*)(void*, int, int, unsigned
long, void const*, int (*)(void*, int, unsigned char, unsigned int, ...))) () from  /data/cores/opt/novell/eDirectory/lib64/nds-modules/
#9  0x00002aaaaacb2d4b in INCP::HandleNCPRequest(ReceiveBufferStruct*, int, int*) () from /data/cores/opt/novell/eDirectory/lib64/nds-modules/ 
#10 0x00002aaaaacb338c in INCP::ServiceStreamGroupConnections(StreamGroupStruct*) () from /data/cores/opt/novell/eDirectory/lib64/nds-modules/
#11 0x00002aaaaacb3a87 in NCPPollerThread(StreamGroupStruct*) () from  /data/cores/opt/novell/eDirectory/lib64/nds-modules/
#12 0x00000000004142d1 in PoolWorker(void*) ()
#13 0x00002b7030c84193 in start_thread () from  /data/cores/lib64/
#14 0x00002b7030facf0d in clone () from /data/cores/lib64/
#15 0x0000000000000000 in ?? ()


This is resolved in July 2013 maintenance release (and later).