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

diff --git a/a/content_digest b/N1/content_digest
index 07a83d2..25c32de 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -5,7 +5,7 @@
  "ref\0CAFEAcA8DuMANP7-JF=bTDXG7uJF0q4HUQ2P4WOGvXAOWGtPYnA@mail.gmail.com\0"
  "ref\0877dmlgnrf.fsf@keithp.com\0"
  "ref\0CAFEAcA8t9eQf7nD2Ea7z1qO-Tf5xthTvzODS3XsxX+0ns3ttQg@mail.gmail.com\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\0Sat, 06 Mar 2021 08:54:30 -0800\0"
  "To\0Peter Maydell <peter.maydell@linaro.org>\0"
@@ -83,4 +83,4 @@
  "=kKWW\n"
  -----END PGP SIGNATURE-----
 
-1750c5ef5bcdb5eae42b4cb5d8fea2a305c1527888586f2c43694628af81f2fc
+456fcef26fbe2b99c55c45a41429f34407b05520e54b5ee2ffcc7a1a60a9e21f

diff --git a/a/1.txt b/N2/1.txt
index 9920874..f003248 100644
--- a/a/1.txt
+++ b/N2/1.txt
@@ -46,3 +46,43 @@ it supported that, sounds like I must have missed something?
 
 -- 
 -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 4e10853..0000000
--- a/a/2.bin
+++ /dev/null
@@ -1,16 +0,0 @@
------BEGIN PGP SIGNATURE-----
-
-iQIzBAEBCAAdFiEEw4O3eCVWE9/bQJ2R2yIaaQAAABEFAmBDs8cACgkQ2yIaaQAA
-ABF9/w//ZBiHazDxjpbAYZwlwGA8IJ36hfYYS8C8aNcc2Qtx7kdTLyF/qMcyIhe2
-RSDH4Stogf7XeDn1eM9QWRa9M8455SPx1NJtKa0WOvge1k9anAYs/ObXta5nmclO
-LdvhiEWsVgP9QxrNl08oBAiEvcij+0mg2vPagneSXowPPb7AhUlZ/coIpsHjk+J2
-/IKtjww6HMduE0Nmjv9N/JySdbO0qR7KIKixd8+kIAYbLsaj/dRshy8QrlfDKJUG
-3R+wL7Ry38GH169mNeFNyz9ufALjCXc/SAzgvsxoF4mjEqvkf9aOoAUx81rfZfLE
-JmYOcQueilGJmjxFi7AAkAjUU9ogh/ApVIo2mBhp6rb/rPhFQ9q0N+ZCq9pL2u3V
-UQ7WUVfznyfNOOdzml57Q80Fa92jhtkACqxXiD542n0fJbLIh+w0twYR1ysvT567
-kW3bVg/dmNmcWgT4I+PGdVr6KqzZIQtUIdWOpyTjcqTLbiQafulzFe5fe8W4ldFJ
-gqfOmS3slW1GiyrcMCidKg2q+5Dy3pgUQfVeOqbSi+L6wFc9TmmmnLlenrLWYKP4
-UN1BXM0Y8KyXMraE5Otr2XidJwsH/zns+3McKiOK3DCYvlXT/vRnkXlAG3Cvfpr9
-keoJDVhDGoz9awnI2tJ8NNooqHL7HFFQopPsoG57XaWiYSBPqh0=
-=kKWW
------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 07a83d2..6a9f6bd 100644
--- a/a/content_digest
+++ b/N2/content_digest
@@ -1,19 +1,15 @@
- "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"
  "ref\0CAFEAcA9LdZ=Ym_UQFwqMcrHv6pygdxZC+fgoc=N3mU484d-a_A@mail.gmail.com\0"
  "ref\087im65gxla.fsf@keithp.com\0"
  "ref\0CAFEAcA8DuMANP7-JF=bTDXG7uJF0q4HUQ2P4WOGvXAOWGtPYnA@mail.gmail.com\0"
  "ref\0877dmlgnrf.fsf@keithp.com\0"
  "ref\0CAFEAcA8t9eQf7nD2Ea7z1qO-Tf5xthTvzODS3XsxX+0ns3ttQg@mail.gmail.com\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\0Sat, 06 Mar 2021 08:54:30 -0800\0"
- "To\0Peter Maydell <peter.maydell@linaro.org>\0"
- "Cc\0Alex Benn\303\251e <alex.bennee@linaro.org>"
-  QEMU Developers <qemu-devel@nongnu.org>
-  Bug 1915925 <1915925@bugs.launchpad.net>
- " 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\0Sat, 06 Mar 2021 16:54:30 -0000\0"
+ "To\0qemu-devel@nongnu.org\0"
+ "\00:1\0"
  "b\0"
  "Peter Maydell <peter.maydell@linaro.org> writes:\n"
  "\n"
@@ -62,25 +58,46 @@
  "it supported that, sounds like I must have missed something?\n"
  "\n"
  "-- \n"
- -keith
- "\01:2\0"
- "fn\0signature.asc\0"
- "b\0"
- "-----BEGIN PGP SIGNATURE-----\n"
- "\n"
- "iQIzBAEBCAAdFiEEw4O3eCVWE9/bQJ2R2yIaaQAAABEFAmBDs8cACgkQ2yIaaQAA\n"
- "ABF9/w//ZBiHazDxjpbAYZwlwGA8IJ36hfYYS8C8aNcc2Qtx7kdTLyF/qMcyIhe2\n"
- "RSDH4Stogf7XeDn1eM9QWRa9M8455SPx1NJtKa0WOvge1k9anAYs/ObXta5nmclO\n"
- "LdvhiEWsVgP9QxrNl08oBAiEvcij+0mg2vPagneSXowPPb7AhUlZ/coIpsHjk+J2\n"
- "/IKtjww6HMduE0Nmjv9N/JySdbO0qR7KIKixd8+kIAYbLsaj/dRshy8QrlfDKJUG\n"
- "3R+wL7Ry38GH169mNeFNyz9ufALjCXc/SAzgvsxoF4mjEqvkf9aOoAUx81rfZfLE\n"
- "JmYOcQueilGJmjxFi7AAkAjUU9ogh/ApVIo2mBhp6rb/rPhFQ9q0N+ZCq9pL2u3V\n"
- "UQ7WUVfznyfNOOdzml57Q80Fa92jhtkACqxXiD542n0fJbLIh+w0twYR1ysvT567\n"
- "kW3bVg/dmNmcWgT4I+PGdVr6KqzZIQtUIdWOpyTjcqTLbiQafulzFe5fe8W4ldFJ\n"
- "gqfOmS3slW1GiyrcMCidKg2q+5Dy3pgUQfVeOqbSi+L6wFc9TmmmnLlenrLWYKP4\n"
- "UN1BXM0Y8KyXMraE5Otr2XidJwsH/zns+3McKiOK3DCYvlXT/vRnkXlAG3Cvfpr9\n"
- "keoJDVhDGoz9awnI2tJ8NNooqHL7HFFQopPsoG57XaWiYSBPqh0=\n"
- "=kKWW\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
 
-1750c5ef5bcdb5eae42b4cb5d8fea2a305c1527888586f2c43694628af81f2fc
+b93209e4704ee73f18b8e579529074119a80d5f32a450211b111d3c200105946

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.