[torquedev] various bug fixes in job array code

Glen Beane glen.beane at gmail.com
Thu Jan 31 20:15:01 MST 2008

I discovered that there were problems with using qdel to delete an entire
job array for regular users

The authorization check always failed for regular users (whether they were
the job owner or not), but there was also a missing return; so after
replying with the operation not permitted error the program flow would fall
out of the if block and delete the array anyway! This also resulted in a
double free when we would try to reply to the same request a second time
(not to mention allowing non owners to delete the array).

This has been fixed in trunk and back ported to 2.2-fixes

I've also committed several job array relaited memory leak fixes in trunk
and back ported two applicable ones to 2.2.-fixes

Please test!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/torquedev/attachments/20080131/bcdc2d27/attachment.html

More information about the torquedev mailing list