opnsense-src/usr.bin/tip/tip
Jessica Clarke 6d2648bcab tip: Fix pointer-vs-integer confusion
Currently IREMOTE assumes that every value is (initially) a pointer to a
long. This is true for NUMBERs, but false for STRINGs, which are instead
pointers to pointers, though on ILP32 and LP64 systems these happen to
have the same representation, but this is still a strict aliasing
violation, and of course breaks on systems where the representations are
not the same, such as CHERI. We do not currently have any BOOLs (short,
curiously) or CHARs used with IREMOTE, though the code should not be
relying on that.

This removes the unused setaddress macro, and the now-unused address
macro due to the above issue.

Reviewed by:	imp, kib
Obtained from:	CheriBSD
Differential Revision:	https://reviews.freebsd.org/D30697
2021-06-08 18:30:59 +01:00
..
acu.c Fix various -Wpointer-compare warnings 2019-10-08 21:14:09 +00:00
acutab.c
cmds.c
cmdtab.c
cu.1
cu.c
hunt.c
log.c
Makefile Move remote & phones to usr.bin/tip/tip/ 2018-09-19 14:56:53 +00:00
Makefile.depend
partab.c
pathnames.h
phones Move remote & phones to usr.bin/tip/tip/ 2018-09-19 14:56:53 +00:00
remote Move remote & phones to usr.bin/tip/tip/ 2018-09-19 14:56:53 +00:00
remote.c
tip.1
tip.c mail/gprof/tip: tap with the ugly stick 2020-04-06 23:28:24 +00:00
tip.h tip: Fix pointer-vs-integer confusion 2021-06-08 18:30:59 +01:00
tipout.c
uucplock.c
value.c tip: Fix pointer-vs-integer confusion 2021-06-08 18:30:59 +01:00
vars.c