FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fixes by jkseppan · Pull Request #2 · dopplershift/matplotlib · GitHub

Repository navigation

Fixes - #2

Merged
dopplershift merged 6 commits into
dopplershift:add-asym-normfrom
jkseppan:add-asym-norm
Sep 3, 2015
Merged

dopplershift merged 6 commits into
dopplershift:add-asym-normfrom
jkseppan:add-asym-norm

Conversation

jkseppan commented Sep 3, 2015

Copy link
Copy Markdown

This makes all the tests pass for me, and removes an unused parameter.

Need to allow it in __call__ since colorbar can pass a value for clip.
To make it more similar to the other norms

Also remove misleading comment about returning scalars
Since possibly some earlier versions of numpy returned a scalar,
wrap the value in atleast_1d before indexing.
np.interp handles the case vmin == vcenter, we have to add a special case
to make the last test case pass
dopplershift added a commit that referenced this pull request Sep 3, 2015
dopplershift merged commit ebd3753 into dopplershift:add-asym-norm Sep 3, 2015
dopplershift pushed a commit that referenced this pull request Oct 25, 2016
dopplershift pushed a commit that referenced this pull request Jan 31, 2017
# Das ist die erste Commit-Beschreibung:

Test streamplot maxlength feature.

# Commit-Beschreibung #2 wird ausgelassen:

#	Added streamline maxlength test png baseline image.
dopplershift pushed a commit that referenced this pull request Oct 20, 2017
This fixes some possible heap buffer overflows, such as the following
triggered by our cmmi10.ttf:

```
ERROR: AddressSanitizer: heap-buffer-overflow on address 0x617000235709 at pc 0x7f95efd3c48a bp 0x7ffe41b6ecc0 sp 0x7ffe41b6ecb0
READ of size 1 at 0x617000235709 thread T0
    #0 0x7f95efd3c489 in utf16be_to_ascii extern/ttconv/pprdrv_tt.cpp:178
    #1 0x7f95efd3c489 in Read_name(TTFONT*) extern/ttconv/pprdrv_tt.cpp:339
    #2 0x7f95efd499ef in read_font(...) extern/ttconv/pprdrv_tt.cpp:1325
    #3 0x7f95efd4c602 in get_pdf_charprocs(...) extern/ttconv/pprdrv_tt.cpp:1420
    #4 0x7f95efd35c22 in py_get_pdf_charprocs src/_ttconv.cpp:217

0x617000235709 is located 1 bytes to the right of 648-byte region [0x617000235480,0x617000235708)
allocated by thread T0 here:
    #0 0x7f9612262a38 in __interceptor_calloc (/usr/lib64/libasan.so.4+0xdea38)
    #1 0x7f95efd3b261 in GetTable(TTFONT*, char const*) extern/ttconv/pprdrv_tt.cpp:140
```
dopplershift pushed a commit that referenced this pull request Jun 29, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL