Hi,
                I found an issue when I tried to create a shared memory 2G or 
larger would result in failure during restore. That sounded suspiciously like a 
usage of a signed int, cause 2G - a little worked just fine. I modified locally 
and it worked for my test case, just wanted to pass this along for owners to 
either double check and integrate or do whatever for an official fix.

sysvipc.cpp:
ShmSegment::ShmSegment(key_t key, int size, int shmflg, int shmid) should use 
size_t for size

sysvipc.h:
ShmSegment::ShmSegment(key_t key, int size, int shmflg, int shmid) should use 
size_t for size
Private field _size should be a size_t instead of an int

Joshua Louie
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dmtcp-forum mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dmtcp-forum

Reply via email to