You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The config parsing code in /usr/src/usr.sbin/pkg/config.c only takes into account the last parsed UCL object. This is too naive and results in unexpected behavior.
results in the last object being used to fill the program's config structure. The url become NULL, causing bootstrap to download from the official pkg repo despite it being disabled.
The text was updated successfully, but these errors were encountered:
The config parsing code in
/usr/src/usr.sbin/pkg/config.c
only takes into account the last parsed UCL object. This is too naive and results in unexpected behavior.For example, having this config
results in the last object being used to fill the program's config structure. The
url
becomeNULL
, causing bootstrap to download from the official pkg repo despite it being disabled.The text was updated successfully, but these errors were encountered: