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

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

Environment

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

Situation

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/libc.so.6
#where
#0  0x00002b7030f5e190 in strcpy () from /data/cores/lib64/libc.so.6
#1  0x00002aaaaac985e8 in GetFullPathForSamba(char*, CacheEntry*) () from /data/cores/opt/novell/eDirectory/lib64/nds-modules/libncpengine.so
#2  0x00002aaaaac9f439 in GetSambaShareModeLock(CacheEntry*, int, int) () from /data/cores/opt/novell/eDirectory/lib64/nds-modules/libncpengine.so
#3  0x00002aaaaacaa8b5 in LockDirCacheEntry(int, int, int, unsigned int, int, unsigned char*, int, LockEntryInfo*) () from /data/cores/opt/novell/eDirectory/lib64/nds-modules/libncpengine.so
#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/libncpengine.so
#5  0x00002aaaaacc95ff in Case89(unsigned int, int, svc_request*, int) () from /data/cores/opt/novell/eDirectory/lib64/nds-modules/libncpengine.so
#6  0x00002aaaaacdc4ee in ExecuteNCPPacket(unsigned int, svc_request*, int) () from  /data/cores/opt/novell/eDirectory/lib64/nds-modules/libncpengine.so
#7  0x00002aaaaacb114d in INCP::HandleNCPFileServiceRequest() ()   from  /data/cores/opt/novell/eDirectory/lib64/nds-modules/libncpengine.so
#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/libncpengine.so
#9  0x00002aaaaacb2d4b in INCP::HandleNCPRequest(ReceiveBufferStruct*, int, int*) () from /data/cores/opt/novell/eDirectory/lib64/nds-modules/libncpengine.so 
#10 0x00002aaaaacb338c in INCP::ServiceStreamGroupConnections(StreamGroupStruct*) () from /data/cores/opt/novell/eDirectory/lib64/nds-modules/libncpengine.so
#11 0x00002aaaaacb3a87 in NCPPollerThread(StreamGroupStruct*) () from  /data/cores/opt/novell/eDirectory/lib64/nds-modules/libncpengine.so
#12 0x00000000004142d1 in PoolWorker(void*) ()
#13 0x00002b7030c84193 in start_thread () from  /data/cores/lib64/libpthread.so.0
#14 0x00002b7030facf0d in clone () from /data/cores/lib64/libc.so.6
#15 0x0000000000000000 in ?? ()


Resolution

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

Feedback service temporarily unavailable. For content questions or problems, please contact Support.