[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sr #110809] UBSAN failure in output.c:511 (make_room_for)
From: |
Eric Blake |
Subject: |
[sr #110809] UBSAN failure in output.c:511 (make_room_for) |
Date: |
Fri, 13 Jan 2023 17:25:42 -0500 (EST) |
Update of sr #110809 (project m4):
Assigned to: None => ericb
_______________________________________________________
Follow-up Comment #2:
Thanks for the useful report, including reproduction instructions that worked
out of the box. The code is indeed calling memcpy(dest, NULL, 0) which works
on all known libc implementations, but where the sanitizer is indeed correct
that NULL is not a pointer to a valid object (even if we won't be copying from
it). It is easy enough to work around, so I'll post a patch along those
lines.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/support/?110809>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/