The old code sometimes used this field without initializing it.
2011-07-13 Paul Eggert <eggert@cs.ucla.edu>
+ * buffer.c (Fget_buffer_create): Initialized inhibit_shrinking.
+ The old code sometimes used this field without initializing it.
+
* alloc.c (gc_sweep): Don't read past end of array.
In theory, the old code could also have corrupted Emacs internals,
though it'd be very unlikely.
BUF_END_UNCHANGED (b) = 0;
BUF_BEG_UNCHANGED (b) = 0;
*(BUF_GPT_ADDR (b)) = *(BUF_Z_ADDR (b)) = 0; /* Put an anchor '\0'. */
+ b->text->inhibit_shrinking = 0;
b->newline_cache = 0;
b->width_run_cache = 0;