All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <CAFEAcA-X6aqsePMKgxzHcRA8okyVUg=Lxve2KqXrd+qiX=jjFg@mail.gmail.com>

diff --git a/a/1.txt b/N1/1.txt
index 0f12802..639a268 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -19,4 +19,44 @@ the 32-bit CPU types in the 64-bit-capable executable). But maybe
 it hasn't landed in master yet?
 
 thanks
--- PMM
\ No newline at end of file
+-- PMM
+
+-- 
+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
\ No newline at end of file
diff --git a/a/content_digest b/N1/content_digest
index fa820ca..94b06c6 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,5 +1,5 @@
 [
-  "ref\00020210305135451.15427-1-alex.bennee\@linaro.org\0"
+  "ref\000161356438332.24036.4652954745285513495.malonedeb\@chaenomeles.canonical.com\0"
 ]
 [
   "ref\00020210305135451.15427-4-alex.bennee\@linaro.org\0"
@@ -23,23 +23,16 @@
   "ref\00087o8fwfcjd.fsf\@keithp.com\0"
 ]
 [
-  "From\0Peter Maydell <peter.maydell\@linaro.org>\0"
+  "From\0Peter Maydell <1915925\@bugs.launchpad.net>\0"
 ]
 [
-  "Subject\0Re: [PATCH v1 3/3] semihosting/arg-compat: fix up handling of SYS_HEAPINFO\0"
+  "Subject\0[Bug 1915925] Re: [PATCH v1 3/3] semihosting/arg-compat: fix up handling of SYS_HEAPINFO\0"
 ]
 [
-  "Date\0Mon, 8 Mar 2021 10:09:44 +0000\0"
+  "Date\0Mon, 08 Mar 2021 10:09:44 -0000\0"
 ]
 [
-  "To\0Keith Packard <keithp\@keithp.com>\0"
-]
-[
-  "Cc\0Bug 1915925 <1915925\@bugs.launchpad.net>",
-  " open list:ARM TCG CPUs <qemu-arm\@nongnu.org>",
-  " Alex Benn\303\251e <alex.bennee\@linaro.org>",
-  " QEMU Developers <qemu-devel\@nongnu.org>",
-  " Alistair Francis <alistair23\@gmail.com>\0"
+  "To\0qemu-devel\@nongnu.org\0"
 ]
 [
   "\0000:1\0"
@@ -69,7 +62,47 @@
   "it hasn't landed in master yet?\n",
   "\n",
   "thanks\n",
-  "-- PMM"
+  "-- PMM\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"
 ]
 
-0b33e41b1b1b883a9a211d83da101d57f8ee3711820747de1c03eb58ea552db9
+62116b3b2554fe0928651e3b52f6687cdf1c7b9f22b11405e4baaa3be5062c2d

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.