]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Move the check for the error case (variable ends without a closing
authorharti <harti@FreeBSD.org>
Wed, 2 Mar 2005 15:52:04 +0000 (15:52 +0000)
committerharti <harti@FreeBSD.org>
Wed, 2 Mar 2005 15:52:04 +0000 (15:52 +0000)
commit0724297b39f19c3ae6a3f32a46052298f4fff0a8
treef8636202f4211ac15bf1ffc04f53a337bd969651
parent4d2ae547ed8db4cde08c659ef5e61968ecaab530
Move the check for the error case (variable ends without a closing
paranthesis or brace) into the loop and don't leak the buffer in this
case. Remove the check for Var_Parse returning NULL - it can't.

Patch: 7.92

Submitted by: Max Okumoto <okumoto@ucsd.edu>
usr.bin/make/var.c