]> granicus.if.org Git - python/commit
I'm not sure why this code allocates this string for the error message.
authorNeal Norwitz <nnorwitz@gmail.com>
Sat, 12 Aug 2006 01:57:47 +0000 (01:57 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Sat, 12 Aug 2006 01:57:47 +0000 (01:57 +0000)
commitb45f351832b00c80bf9881e92b12c330324e3116
tree76f0d4900b48dfc93dd2c6a40f0aa9e531038005
parentef0de023db9bc520312e5f0f59bbc9a47f0f204e
I'm not sure why this code allocates this string for the error message.
I think it would be better to always use snprintf and have the format
limit the size of the name appropriately (like %.200s).

Klocwork #340
Modules/unicodedata.c