diff options
author | Marvin W <git@larma.de> | 2020-06-28 11:25:10 +0200 |
---|---|---|
committer | Marvin W <git@larma.de> | 2020-06-28 11:53:43 +0200 |
commit | af98b8ea0fd256e0860695615b0b2992523591fc (patch) | |
tree | 83c51eb072ead9ddf6fe9dd2f254510890213ee1 /plugins/gpgme-vala/vapi/gpgme.vapi | |
parent | 48964bc5cca6e56cd7fc745b1a4a9ae5d34f0772 (diff) | |
download | dino-af98b8ea0fd256e0860695615b0b2992523591fc.tar.gz dino-af98b8ea0fd256e0860695615b0b2992523591fc.zip |
Fix rare 1 byte buffer over-read
Diffstat (limited to 'plugins/gpgme-vala/vapi/gpgme.vapi')
-rw-r--r-- | plugins/gpgme-vala/vapi/gpgme.vapi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gpgme-vala/vapi/gpgme.vapi b/plugins/gpgme-vala/vapi/gpgme.vapi index 3b8e660d..f50150a7 100644 --- a/plugins/gpgme-vala/vapi/gpgme.vapi +++ b/plugins/gpgme-vala/vapi/gpgme.vapi @@ -474,7 +474,7 @@ namespace GPG { [CCode (cname = "gpgme_data_release_and_get_mem")] public string release_and_get_mem(out size_t len); - public ssize_t read(uint8[] buf); + public ssize_t read([CCode (array_length = false)] uint8[] buf, size_t len); public ssize_t write(uint8[] buf); |