diff options
author | Zach van Rijn <me@zv.io> | 2022-05-03 19:51:23 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-05-06 12:37:30 -0500 |
commit | 87dbb4be56a3cbbcc652dbdf383f14a7a46d7e2c (patch) | |
tree | be4cd4f67662c5890e45e70bdb1f8d39f7035ac0 /system/libaio/improper-strncpy-usage.patch | |
parent | ff04154b2cdc63d7cb057b4d80f894a3e9b37b91 (diff) | |
download | packages-87dbb4be56a3cbbcc652dbdf383f14a7a46d7e2c.tar.gz packages-87dbb4be56a3cbbcc652dbdf383f14a7a46d7e2c.tar.bz2 packages-87dbb4be56a3cbbcc652dbdf383f14a7a46d7e2c.tar.xz packages-87dbb4be56a3cbbcc652dbdf383f14a7a46d7e2c.zip |
system/libaio: bump { 0.3.112 --> 0.3.113 }. disable test 18. fixes #405.
Diffstat (limited to 'system/libaio/improper-strncpy-usage.patch')
-rw-r--r-- | system/libaio/improper-strncpy-usage.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/system/libaio/improper-strncpy-usage.patch b/system/libaio/improper-strncpy-usage.patch deleted file mode 100644 index b2f6b86a4..000000000 --- a/system/libaio/improper-strncpy-usage.patch +++ /dev/null @@ -1,26 +0,0 @@ -It is invalid to use the src size as the strncpy size parameter. - -Found by GCC 8.3, fixed by awilfox. - ---- libaio-0.3.111/harness/cases/19.t.old 2018-03-06 22:24:47.000000000 +0000 -+++ libaio-0.3.111/harness/cases/19.t 2019-02-28 22:20:03.170000000 +0000 -@@ -41,7 +41,7 @@ - int fd; - char template[sizeof(TEMPLATE)]; - -- strncpy(template, TEMPLATE, sizeof(TEMPLATE)); -+ strncpy(template, TEMPLATE, sizeof(template)); - fd = mkostemp(template, O_DIRECT); - if (fd < 0) { - perror("mkstemp"); ---- libaio-0.3.111/harness/cases/21.t.old 2018-03-06 22:24:47.000000000 +0000 -+++ libaio-0.3.111/harness/cases/21.t 2019-02-28 22:20:13.120000000 +0000 -@@ -43,7 +43,7 @@ - int fd; - char temp_file[sizeof(TEMPLATE)]; - -- strncpy(temp_file, TEMPLATE, sizeof(TEMPLATE)); -+ strncpy(temp_file, TEMPLATE, sizeof(temp_file)); - fd = mkstemp(temp_file); - if (fd < 0) { - perror("mkstemp"); |