[f21/master v2] Avoid the possibility of size variables being unset (#1146585)

Chris Lumens clumens at redhat.com
Fri Sep 26 13:41:39 UTC 2014


> The parser in pykickstart defines these values as ints.
> I think that means that an exception will already have
> been thrown by parser if they can not be converted to ints.

Yes, but this is python, so it's entirely possible for someone to come
along between parse and execute and change the value to some other,
stupider, type.  You can decide how likely you expect that situation to
be.  We likely do not worry about it anywhere else, but it probably
would be possible.

- Chris


More information about the anaconda-patches mailing list