]> git.madduck.net Git - etc/vim.git/commit

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Fix crash on some power hugging cases (#2806)
authorJelle Zijlstra <jelle.zijlstra@gmail.com>
Thu, 27 Jan 2022 00:47:36 +0000 (16:47 -0800)
committerGitHub <noreply@github.com>
Thu, 27 Jan 2022 00:47:36 +0000 (16:47 -0800)
commit889a8d5dd27a73aa780e989a850bbdaaa9946a13
tree2866d766f905ee7d8f62391bbba3f35cc025af89
parent32dd9ecb2e9dec8b29c07726d5713ed5b4c36547
Fix crash on some power hugging cases (#2806)

Found by the fuzzer. Repro case:

python -m black -c 'importA;()<<0**0#'
src/black/linegen.py
src/black/lines.py
src/blib2to3/pytree.py
tests/data/power_op_newline.py [new file with mode: 0644]
tests/test_format.py