Bugs item #1694484, was opened at 2007-04-04 18:49
Message generated for change (Comment added) made by subrata_modak
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=103382&aid=1694484&group_id=3382
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Testcases
Group: System Calls
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: creese (creese123)
Assigned to: Nobody/Anonymous (nobody)
Summary: semop01 corrupting get_arr.array
Initial Comment:
The line:
get_arr.val = 0;
Is corrupting the get_arr union. Causing get_arr.array to have an illegal
value. On a 32bit machine, this cause the array pointer to be NULL and the
later free silently fails. On a 64bit big endian machine, this causes free to
get a completely bogus pointer.
The set needs to use a different union than get_arr.
----------------------------------------------------------------------
>Comment By: Subrata (subrata_modak)
Date: 2007-04-05 05:16
Message:
Logged In: YES
user_id=1737361
Originator: NO
Your Patch is accepted and Bug Fixed.
----------------------------------------------------------------------
Comment By: creese (creese123)
Date: 2007-04-04 20:38
Message:
Logged In: YES
user_id=1761305
Originator: YES
Here is a patch
File Added: ltp-fix-semop01-get_arr.patch
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=103382&aid=1694484&group_id=3382
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list