summary refs log tree commit diff
path: root/all.h
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin@c9x.me>2021-07-30 00:11:27 +0200
committerQuentin Carbonneaux <quentin@c9x.me>2021-07-30 00:14:53 +0200
commit3da3815a674c922c520e013b30eb96c7491a5e85 (patch)
treed82dde5bf3269d0aad173f7d8e60e08d5519fb8f /all.h
parent98cd2e817616fff14622b8e514fc88b378a100ef (diff)
downloadroux-3da3815a674c922c520e013b30eb96c7491a5e85.tar.gz
err when an address contains a sum $a+$b (afl)
Reported by Alessandro Mantovani.
These addresses are likely bogus, but
they triggered an unwarranted assertion
failure. We now raise a civilized error.
Diffstat (limited to 'all.h')
-rw-r--r--all.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/all.h b/all.h
index 7f843a9..4b9eb0e 100644
--- a/all.h
+++ b/all.h
@@ -433,7 +433,7 @@ int phicls(int, Tmp *);
 Ref newtmp(char *, int, Fn *);
 void chuse(Ref, int, Fn *);
 Ref getcon(int64_t, Fn *);
-void addcon(Con *, Con *);
+int addcon(Con *, Con *);
 void blit(Ref, uint, Ref, uint, Fn *);
 void dumpts(BSet *, Tmp *, FILE *);