Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src
Module Name: src
Committed By: mrg
Date: Fri Sep 19 05:07:38 UTC 2025
Modified Files:
src/usr.bin/ruptime: ruptime.c
src/usr.sbin/inetd: ratelimit.c
Log Message:
fix a couple of "allocate too little" issues GCC 14 pointed out.
both ruptime and inetd allocate a less-than-struct-sized space and
assign it to a struct pointer. neither of them actually use more
than the allocated memory, but this is still dodgy and technically
wrong. just allocate the right size.
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/ruptime/ruptime.c
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/inetd/ratelimit.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index