All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ 0/2] Fix Ubuntu 24.04 build error
@ 2025-02-04 10:16 Pablo Montes
  2025-02-04 10:16 ` [PATCH BlueZ 1/2] emulator: Fix Werror=stringop-overflow Pablo Montes
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Pablo Montes @ 2025-02-04 10:16 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Pablo Montes

On Ubuntu 24.04: build warnings for buffer read overflow are treated
as errors on emulator. This may be ignored with 
CFLAGS="-Wno-error=stringop-overflow" but discarding packet if offset
is greater than buffer size removes the warning.
Could close GitHub issue #1049.

Also I lost some time using mesh-cfgclient on a fresh Linux with no
.config folder in home: mesh-cfgclient failed but did not explain the
error, so printing a message could be welcome for others.

From instructions I read patches should be separate,
but I thought the minor print error did not deserve a full patch.

Tests are OK, save test-vcp which does not work on master branch
either and it is not related to this.

Pablo Montes (2):
  emulator: Fix Werror=stringop-overflow
  tools: print error on mkdir

 emulator/serial.c      | 11 ++++++++++-
 tools/mesh-cfgclient.c |  4 +++-
 2 files changed, 13 insertions(+), 2 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-02-05  9:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-04 10:16 [PATCH BlueZ 0/2] Fix Ubuntu 24.04 build error Pablo Montes
2025-02-04 10:16 ` [PATCH BlueZ 1/2] emulator: Fix Werror=stringop-overflow Pablo Montes
2025-02-04 11:32   ` Fix Ubuntu 24.04 build error bluez.test.bot
2025-02-04 15:59   ` [PATCH BlueZ 1/2] emulator: Fix Werror=stringop-overflow Luiz Augusto von Dentz
2025-02-04 16:38     ` Luiz Augusto von Dentz
     [not found]       ` <AS4PR08MB7653945A0A0779C5BAEA190BA3F72@AS4PR08MB7653.eurprd08.prod.outlook.com>
2025-02-05  9:02         ` RV: " Pablo Montes Lozano
2025-02-04 10:16 ` [PATCH BlueZ 2/2] tools: print error on mkdir Pablo Montes
2025-02-04 22:50 ` [PATCH BlueZ 0/2] Fix Ubuntu 24.04 build error patchwork-bot+bluetooth

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.