Fix potential loop when requesting attribute data.
authorSimo Sorce <simo@redhat.com>
Thu, 14 Jan 2016 15:24:17 +0000 (10:24 -0500)
committerSimo Sorce <simo@redhat.com>
Thu, 14 Jan 2016 15:24:17 +0000 (10:24 -0500)
commit7c0d8634541da5804f711a0e777b3ab03e897911
treeafd62dd58d30cb7266f14e48fa127da18caec359
parent3652da99739cc95c8278ba726e7446ec1e9c9e0f
Fix potential loop when requesting attribute data.

If this function fail we are better off abandoning the whole quest, continueing
here may end us up in an infinite loop where the fucntion keeps failing w/o
changing attr.more

Thanks to Alejandro Perez for finding this flaw.

Signed-off-by: Simo Sorce <simo@redhat.com>
src/environ.c