All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <87lfb1gxq3.fsf@keithp.com>

diff --git a/a/content_digest b/N1/content_digest
index 1a793ec..3d54cbb 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,6 +1,6 @@
  "ref\020210305135451.15427-1-alex.bennee@linaro.org\0"
  "ref\020210305135451.15427-4-alex.bennee@linaro.org\0"
- "From\0Keith Packard <keithp@keithp.com>\0"
+ "From\0Keith Packard via <qemu-devel@nongnu.org>\0"
  "Subject\0Re: [PATCH  v1 3/3] semihosting/arg-compat: fix up handling of SYS_HEAPINFO\0"
  "Date\0Fri, 05 Mar 2021 12:19:16 -0800\0"
  "To\0Alex Benn\303\251e <alex.bennee@linaro.org>"
@@ -46,4 +46,4 @@
  "=GQC+\n"
  -----END PGP SIGNATURE-----
 
-670e91f4d2131453101d9e34399a1e9725f3429c2527f9c45289b15f742e1572
+1cf4a9eaa81d6c5987b09515e2ee3c83ab0ae31f2e0c1041052d32e6610e0fe5

diff --git a/a/1.txt b/N2/1.txt
index 7be6321..2933989 100644
--- a/a/1.txt
+++ b/N2/1.txt
@@ -13,3 +13,43 @@ whatever bugs you've found.
 
 -- 
 -keith
+
+-- 
+You received this bug notification because you are a member of qemu-
+devel-ml, which is subscribed to QEMU.
+https://bugs.launchpad.net/bugs/1915925
+
+Title:
+  ARM semihosting HEAPINFO results wrote to wrong address
+
+Status in QEMU:
+  Confirmed
+
+Bug description:
+  This affects latest development branch of QEMU.
+
+  According to the ARM spec of the HEAPINFO semihosting call:
+
+  https://developer.arm.com/documentation/100863/0300/Semihosting-
+  operations/SYS-HEAPINFO--0x16-?lang=en
+
+  > the PARAMETER REGISTER contains the address of a pointer to a four-
+  field data block.
+
+  However, QEMU treated the PARAMETER REGISTER as pointing to a four-
+  field data block directly.
+
+  Here is a simple program that can demonstrate this problem:
+  https://github.com/iNvEr7/qemu-learn/tree/newlib-bug/semihosting-
+  newlib
+
+  This code links with newlib with semihosting mode, which will call the
+  HEAPINFO SVC during crt0 routine. When running in QEMU (make run), it
+  may crash the program either because of invalid write or memory
+  curruption, depending on the compiled program structure.
+
+  Also refer to my discussion with newlib folks:
+  https://sourceware.org/pipermail/newlib/2021/018260.html
+
+To manage notifications about this bug go to:
+https://bugs.launchpad.net/qemu/+bug/1915925/+subscriptions
diff --git a/a/2.bin b/a/2.bin
deleted file mode 100644
index dd37890..0000000
--- a/a/2.bin
+++ /dev/null
@@ -1,16 +0,0 @@
------BEGIN PGP SIGNATURE-----
-
-iQIzBAEBCAAdFiEEw4O3eCVWE9/bQJ2R2yIaaQAAABEFAmBCkkQACgkQ2yIaaQAA
-ABH2vQ/9Hns9A12xQi4WE/5uRF4/KHbPczlCwwrrmCIYkllMzNQ9AtlXLSZZIDgD
-dBro2yHjBzYWY0WkmgQS5qrsPSAfseWdRTmKukSHJWhxK5sSN8TMe/NvnQ2nN86Y
-cCm9QHam716TF+b5mZgQjqTm4RdwHo6RWFhnlxj7M+FfUAKsLo5o9rD0+CL+WHW6
-rJycd0X45M7FXVUQqfpZnbmKVzW7wFUeE4PEpIDZvtwU2KOLurYKyIXb+T6xVMdh
-qgG9kaEJbYRrrKJXom62yaX+lD+/zwpuU9GUiQ73zrs2oYk+wo0XLXefW7wSDLgy
-8HlIHmhplruKQJu3ly0vbqzO7o5QSGvRjsjfvKFe2DrOR5KXBH5bcGRjQ/6Xv7M2
-BFh5fjkSs1fcN/LVlxZfug8xP7rsEjsjBfH8FV4j9gOp/qmMdVcWWAl/znuAJUoH
-pNnVSsFQ5wVlpTRiYPplDQuzveiUBSXFfcLVnB+SgIIX4COmsI07bj+Z0exRQOqR
-UUnVkgG8OUu4u877DOPWJf9v/ly9kkmwJMaJ9VPnvcioJQcxsosHCQgFN3KwI+wb
-QUgUrQ0ZrR/stzzqlWjHdBPJNFYt/m0JXguKkHvzSMXYzfaf4LR3h1o6uk+q1xA6
-vhYNON0fZ5QJPWGVBk0U+d9LLJxCNsUBOWX+L3ZpGL9yglVvdO4=
-=GQC+
------END PGP SIGNATURE-----
diff --git a/a/2.hdr b/a/2.hdr
deleted file mode 100644
index 5e5352c..0000000
--- a/a/2.hdr
+++ /dev/null
@@ -1 +0,0 @@
-Content-Type: application/pgp-signature; name="signature.asc"
diff --git a/a/content_digest b/N2/content_digest
index 1a793ec..0b0439b 100644
--- a/a/content_digest
+++ b/N2/content_digest
@@ -1,15 +1,10 @@
- "ref\020210305135451.15427-1-alex.bennee@linaro.org\0"
+ "ref\0161356438332.24036.4652954745285513495.malonedeb@chaenomeles.canonical.com\0"
  "ref\020210305135451.15427-4-alex.bennee@linaro.org\0"
- "From\0Keith Packard <keithp@keithp.com>\0"
- "Subject\0Re: [PATCH  v1 3/3] semihosting/arg-compat: fix up handling of SYS_HEAPINFO\0"
- "Date\0Fri, 05 Mar 2021 12:19:16 -0800\0"
- "To\0Alex Benn\303\251e <alex.bennee@linaro.org>"
- " qemu-devel@nongnu.org\0"
- "Cc\0Alex Benn\303\251e <alex.bennee@linaro.org>"
-  Bug 1915925 <1915925@bugs.launchpad.net>
-  Peter Maydell <peter.maydell@linaro.org>
- " open list:ARM TCG CPUs <qemu-arm@nongnu.org>\0"
- "\01:1\0"
+ "From\0Keith Packard <1915925@bugs.launchpad.net>\0"
+ "Subject\0[Bug 1915925] Re: [PATCH v1 3/3] semihosting/arg-compat: fix up handling of SYS_HEAPINFO\0"
+ "Date\0Fri, 05 Mar 2021 20:19:16 -0000\0"
+ "To\0qemu-devel@nongnu.org\0"
+ "\00:1\0"
  "b\0"
  "Alex Benn\303\251e <alex.bennee@linaro.org> writes:\n"
  "\n"
@@ -25,25 +20,46 @@
  "whatever bugs you've found.\n"
  "\n"
  "-- \n"
- -keith
- "\01:2\0"
- "fn\0signature.asc\0"
- "b\0"
- "-----BEGIN PGP SIGNATURE-----\n"
- "\n"
- "iQIzBAEBCAAdFiEEw4O3eCVWE9/bQJ2R2yIaaQAAABEFAmBCkkQACgkQ2yIaaQAA\n"
- "ABH2vQ/9Hns9A12xQi4WE/5uRF4/KHbPczlCwwrrmCIYkllMzNQ9AtlXLSZZIDgD\n"
- "dBro2yHjBzYWY0WkmgQS5qrsPSAfseWdRTmKukSHJWhxK5sSN8TMe/NvnQ2nN86Y\n"
- "cCm9QHam716TF+b5mZgQjqTm4RdwHo6RWFhnlxj7M+FfUAKsLo5o9rD0+CL+WHW6\n"
- "rJycd0X45M7FXVUQqfpZnbmKVzW7wFUeE4PEpIDZvtwU2KOLurYKyIXb+T6xVMdh\n"
- "qgG9kaEJbYRrrKJXom62yaX+lD+/zwpuU9GUiQ73zrs2oYk+wo0XLXefW7wSDLgy\n"
- "8HlIHmhplruKQJu3ly0vbqzO7o5QSGvRjsjfvKFe2DrOR5KXBH5bcGRjQ/6Xv7M2\n"
- "BFh5fjkSs1fcN/LVlxZfug8xP7rsEjsjBfH8FV4j9gOp/qmMdVcWWAl/znuAJUoH\n"
- "pNnVSsFQ5wVlpTRiYPplDQuzveiUBSXFfcLVnB+SgIIX4COmsI07bj+Z0exRQOqR\n"
- "UUnVkgG8OUu4u877DOPWJf9v/ly9kkmwJMaJ9VPnvcioJQcxsosHCQgFN3KwI+wb\n"
- "QUgUrQ0ZrR/stzzqlWjHdBPJNFYt/m0JXguKkHvzSMXYzfaf4LR3h1o6uk+q1xA6\n"
- "vhYNON0fZ5QJPWGVBk0U+d9LLJxCNsUBOWX+L3ZpGL9yglVvdO4=\n"
- "=GQC+\n"
- -----END PGP SIGNATURE-----
+ "-keith\n"
+ "\n"
+ "-- \n"
+ "You received this bug notification because you are a member of qemu-\n"
+ "devel-ml, which is subscribed to QEMU.\n"
+ "https://bugs.launchpad.net/bugs/1915925\n"
+ "\n"
+ "Title:\n"
+ "  ARM semihosting HEAPINFO results wrote to wrong address\n"
+ "\n"
+ "Status in QEMU:\n"
+ "  Confirmed\n"
+ "\n"
+ "Bug description:\n"
+ "  This affects latest development branch of QEMU.\n"
+ "\n"
+ "  According to the ARM spec of the HEAPINFO semihosting call:\n"
+ "\n"
+ "  https://developer.arm.com/documentation/100863/0300/Semihosting-\n"
+ "  operations/SYS-HEAPINFO--0x16-?lang=en\n"
+ "\n"
+ "  > the PARAMETER REGISTER contains the address of a pointer to a four-\n"
+ "  field data block.\n"
+ "\n"
+ "  However, QEMU treated the PARAMETER REGISTER as pointing to a four-\n"
+ "  field data block directly.\n"
+ "\n"
+ "  Here is a simple program that can demonstrate this problem:\n"
+ "  https://github.com/iNvEr7/qemu-learn/tree/newlib-bug/semihosting-\n"
+ "  newlib\n"
+ "\n"
+ "  This code links with newlib with semihosting mode, which will call the\n"
+ "  HEAPINFO SVC during crt0 routine. When running in QEMU (make run), it\n"
+ "  may crash the program either because of invalid write or memory\n"
+ "  curruption, depending on the compiled program structure.\n"
+ "\n"
+ "  Also refer to my discussion with newlib folks:\n"
+ "  https://sourceware.org/pipermail/newlib/2021/018260.html\n"
+ "\n"
+ "To manage notifications about this bug go to:\n"
+ https://bugs.launchpad.net/qemu/+bug/1915925/+subscriptions
 
-670e91f4d2131453101d9e34399a1e9725f3429c2527f9c45289b15f742e1572
+744676921f1280b296a82e3752408c8dad507ba87bef570cf10a80e790f9c3a6

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.