Skip to content

package: replace apk_dep_snprintf with PKG_DEP_PRINTF

Sertonix requested to merge sertonix/apk-tools:nullptr into master

This avoids buffer constrains when printing dependencies.

Also fixes a null pointer dereference in apk_dep_snprintf by removing it.

  • apk -s add "a><$(printf %254s | tr ' ' '1')"
  • apk -s add "$(printf %255s | tr ' ' 'a')=1"
Edited by Sertonix

Merge request reports

Loading