Bug#506816: gpart: pass mode to open(2) call

James Westby jw+debian at jameswestby.net
Mon Nov 24 23:50:17 UTC 2008


Package: gpart
Version: 0.1h-6
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu jaunty ubuntu-patch

Hi,

gpart calls open(2) with the O_CREAT flag but without specifying
a mode, which is not allowed. Ubuntu uses a compiler than checks
this, and so it was caught while building your package there.

Attached is the patch I wrote to correct this. Please consider
applying it.

Thanks,

James

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 03-open-mode.dpatch
Type: application/x-shellscript
Size: 651 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/forensics-devel/attachments/20081124/2a86e2c0/attachment.bin 


More information about the forensics-devel mailing list