diff options
author | H. Peter Anvin <hpa@zytor.com> | 2002-05-27 02:19:43 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2002-05-27 02:19:43 +0000 |
commit | 24762d487c30cdf7f0760356ce85a689afcbcaac (patch) | |
tree | 91f69bae93f37a8ee93f9edf0d4d8547097bb50b /eval.c | |
parent | d4bc3f54ecf1a962bb1b2f270690ba35c2de8c96 (diff) | |
download | nasm-24762d487c30cdf7f0760356ce85a689afcbcaac.tar.gz nasm-24762d487c30cdf7f0760356ce85a689afcbcaac.tar.bz2 nasm-24762d487c30cdf7f0760356ce85a689afcbcaac.zip |
Correct handling of SEG <nonsegment>; per BR 560575
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -655,6 +655,8 @@ static expr *expr6(int critical) if (!e) return NULL; e = segment_part(e); + if (!e) + return NULL; if (is_unknown(e) && critical) { error(ERR_NONFATAL, "unable to determine segment base"); return NULL; |